Description Usage Arguments Details See Also Examples
View source: R/rhandsontable.R
Create a Handsontable.js widget.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
data |
a |
colHeaders |
a vector of column names. If missing |
rowHeaders |
a vector of row names. If missing |
comments |
matrix or data.frame of comments; NA values are ignored |
useTypes |
logical specifying whether column classes should be mapped to equivalent Javascript types. Note that Handsontable does not support column add/remove when column types are defined (i.e. useTypes == TRUE in rhandsontable). |
readOnly |
logical specifying whether the table is editable |
selectCallback |
logical enabling the afterSelect event to return data. This can be used with shiny to tie updates to a selected table cell. |
width |
numeric table width |
height |
numeric table height |
digits |
numeric passed to |
debug |
numeric Javascript log level |
search |
logical specifying if the data can be searched (see https://jrowen.github.io/rhandsontable/#Customizing and Shiny example in inst/examples/rhandsontable_search) |
... |
passed to |
For full documentation on the package, visit https://jrowen.github.io/rhandsontable/
hot_table
, hot_cols
, hot_rows
, hot_cell
1 2 3 4 5 6 7 | library(rhandsontable)
DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
small = letters[1:10],
dt = seq(from = Sys.Date(), by = "days", length.out = 10),
stringsAsFactors = FALSE)
rhandsontable(DF, rowHeaders = NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.