hot_rows: Handsontable widget

Description Usage Arguments See Also Examples

View source: R/rhandsontable.R

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

1
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

1
2
3
4
5
6
7
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)

Example output



rhandsontable documentation built on May 27, 2021, 5:07 p.m.