hot_cell {rhandsontable}R Documentation

Handsontable widget

Description

Configure single cell. See Handsontable.js for details.

Usage

hot_cell(hot, row, col, comment = NULL, readOnly = NULL)

Arguments

hot

rhandsontable object

row

numeric row index

col

column name or index

comment

character comment to add to cell

readOnly

logical making the cell read-only

See Also

hot_cols, hot_rows

Examples

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) %>%
  hot_cell(1, 1, comment = "Test comment") %>%
  hot_cell(2, 3, readOnly = TRUE)

[Package rhandsontable version 0.3.8 Index]