Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hot_table

Handsontable widget


Description

Configure table. See Handsontable.js for details.

Usage

hot_table(hot, contextMenu = TRUE, stretchH = "none",
  customBorders = NULL, highlightRow = NULL, highlightCol = NULL,
  enableComments = FALSE, overflow = NULL, rowHeaderWidth = NULL,
  ...)

Arguments

hot

rhandsontable object

contextMenu

logical enabling the right-click menu

stretchH

character describing column stretching. Options are 'all', 'right', and 'none'

customBorders

json object

highlightRow

logical enabling row highlighting for the selected cell

highlightCol

logical enabling column highlighting for the selected cell

enableComments

logical enabling comments in the table

overflow

character setting the css overflow behavior. Options are auto (default), hidden and visible

rowHeaderWidth

numeric width (in px) for the rowHeader column

...

passed to Handsontable.js constructor

See Also

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_table(highlightCol = TRUE, highlightRow = TRUE)

rhandsontable

Interface to the 'Handsontable.js' Library

v0.3.7
MIT + file LICENSE
Authors
Jonathan Owen [aut, cre, cph], Jeff Allen [ctb], Yihui Xie [ctb], Enzo Martoglio [ctb], Inberg Ger [ctb], Warpechowski Marcin [ctb, cph] (Handsontable.js library), Handsoncode sp. z o.o. [ctb, cph] (Handsontable.js library), Aisch Gregor [ctb, cph] (Chroma.js library), Företagsplatsen [ctb, cph] (Numbro.js library), Draper Adam [ctb, cph] (Numeral.js library), Wood Tim [ctb, cph] (Moment.js library), Chernev Iskren [ctb, cph] (Moment.js library), Moment.js contributors [ctb, cph] (Moment.js library), Bushell David [ctb, cph] (Pikaday.js library), jQuery Foundation [ctb, cph] (jQuery.js library), Splunk Inc [ctb, cph] (Sparkline.js library), Russell Kent [ctb, cph] (Sparkline.js library), Rohan Jon [ctb, cph] (ZeroClipboard library), Greene James [ctb, cph] (ZeroClipboard library)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.