R: Handsontable widget

hot_table {rhandsontable} | R Documentation

## 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'. See Column stretching for details.
`customBorders` | json object. See Custom borders for details.
`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

`rhandsontable`

### 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)

[Package rhandsontable version 0.3.6 Index]