Learn R Programming

rhandsontable (version 0.3.8)

hot_rows: Handsontable widget

Description

Configure row settings that pertain to the entire table. Note that hot_rows is not to be confused with hot_row. See Handsontable.js for details.

Usage

hot_rows(hot, rowHeights = NULL, fixedRowsTop = NULL)

Arguments

hot

rhandsontable object

rowHeights

a scalar or numeric vector of row heights

fixedRowsTop

a scaler indicating the number of rows to freeze on the top

See Also

hot_cols, hot_cell

Examples

Run this code
# NOT RUN {
library(rhandsontable)
MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
             letters[1:5]))

rhandsontable(MAT, width = 300, height = 150) %>%
  hot_cols(colWidths = 100, fixedColumnsLeft = 1) %>%
  hot_rows(rowHeights = 50, fixedRowsTop = 1)
# }

Run the code above in your browser using DataLab