htable: Render a Handsontable

Description Usage Arguments Author(s)

Description

Render a Handsontable in an application page.

Usage

1
2
3
4
htable(outputId, clickId = NULL, readOnly = FALSE,
  colHeaders = c("enabled", "disabled", "provided"),
  rowNames = c("disabled", "enabled", "provided"), minRows = 0,
  minCols = 0, width = 0, height = 0)

Arguments

outputId

The ID of the glOutput associated with this element

clickId

If not NULL, will expose a new input using the given name which provides a named list giving the row and column numbers of the currently selected cell(s) in the table (1-indexed). Additionally, it will provice 'r2' and 'c2' variables to specify the "stop" row and columns, which may be relevant if a range of cells are selected. Or all will be NA if no cell is selected.

readOnly

If TRUE, client-side editing the table will be disabled. By default, will be FALSE to enable editing.

colHeaders

Sets the way column headers should be displayed on the table. enabled implies that the default column names (progression through the alphabet) should be used. disabled implies that column headings should be disabled completely. provided implies that the column names should be extracted from the R object being displayed.

rowNames

Sets the way row headers should be displayed on the table. enabled implies that the default row names (incrementing integers) should be used. disabled implies that row names should be disabled completely. provided implies that the row names should be extracted from the R object being displayed.

minRows

The minimum number of rows to be included in the table.

minCols

The minimum number of columns to be included in the table.

width

The width of the table in pixels.

height

The height of the table in pixels.

Author(s)

Jeff Allen jeff@trestletech.com


trestletech/shinyTable documentation built on May 31, 2019, 7:50 p.m.