renderHotable: renderHotable

Description Usage Arguments Examples

View source: R/hotable.r

Description

Renders the hotable.

Usage

1
2
renderHotable(expr, env = parent.frame(), quoted = FALSE,
  options = NULL, readOnly = TRUE)

Arguments

expr

The computation that leads to an output

env

The R environment in which to create the dataset

quoted

Pass to the exprToFunction

options

Pass to the exprToFunction

readOnly

A vector of TRUE/FALSE values to indicate which of the columns should be read-only.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
# these example will only run inside a shiny app

### ui.R
#' hotable("hotable1")
#This will create a handsontable which you can output using 
output$hotable1 <- renderHotable({...})

### server.R
something <- reactive({
    hot.to.df(input$hotable1) # this will convert your input into a data.frame
})

## End(Not run)

AnalytixWare/ShinySky documentation built on March 2, 2020, 6:10 p.m.