Description Usage Arguments Author(s) Examples
Configure individual cells of a rhandsontable widget. Can be
used just like hot_cols
or
hot_col
to specify custom options or
cells. All possible combinations of row and column indices will be set.
1 | dq_hot_cell(hot, row, col, ...)
|
hot |
rhandsontable object |
row |
integer vector specifying the rows to configure |
col |
integer vector specifying the columns to configure |
... |
parameters to be set in the cells, can be all rhandsontable parameters and additional custom ones used with custom renderers or editors |
richard.kunze
1 2 3 4 5 6 7 | df <- data.frame(readOrWrite = rep(c("readOnly", "change me!"), 5),
secret = rep("tops3cr3t", 10), stringsAsFactors = FALSE)
hot <- rhandsontable::rhandsontable(df, rowHeaders = NULL)
hot <- dq_hot_cell(hot, seq(1, 10, 2), 1:2, readOnly = TRUE)
hot <- dq_hot_cell(hot, seq(1, 10, 2), 2, type = "password")
hot
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.