spreadsheet_def {rtabulator} | R Documentation |
Spreadsheet definition for tabulator()
HTML widget
Description
Spreadsheet definition for tabulator()
HTML widget
Usage
spreadsheet_def(title, key = NULL, data = NULL)
Arguments
title |
Name of the spreadsheet. |
key |
Unique key of the spreadsheet. |
data |
Initial data of the spreadsheet.
Set to |
Value
list with spreadsheet options to be used as a sheet of the
spreadsheet_sheets
parameter in tabulator_options()
Examples
setup <- tabulator_options(
spreadsheet = TRUE,
spreadsheet_sheets = list(
spreadsheet_def(
title = "First",
data = list(c(1, 2, 3))
),
spreadsheet_def(
title = "Second",
data = list(c(4, 5, 6))
)
),
spreadsheet_sheet_tabs = TRUE
)
tabulator(data = NULL, setup, theme = "midnight")
[Package rtabulator version 0.1.2 Index]