Configure table. See Handsontable.js for details.
hot_table(
hot,
contextMenu = TRUE,
stretchH = "none",
customBorders = NULL,
highlightRow = NULL,
highlightCol = NULL,
enableComments = FALSE,
overflow = NULL,
rowHeaderWidth = NULL,
...
)rhandsontable object
logical enabling the right-click menu
character describing column stretching. Options are 'all', 'right', and 'none'
json object
logical enabling row highlighting for the selected cell
logical enabling column highlighting for the selected cell
logical enabling comments in the table
character setting the css overflow behavior. Options are auto (default), hidden and visible
numeric width (in px) for the rowHeader column
passed to Handsontable.js constructor
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_table(highlightCol = TRUE, highlightRow = TRUE)
#> Warning: as.character(td, ..) no longer obeys a 'format' argument; use format(td, ..) ?