spreadsheet_def | R Documentation |
tabulator()
HTML widgetSpreadsheet definition for tabulator()
HTML widget
spreadsheet_def(title, key = NULL, data = NULL)
title |
Name of the spreadsheet. |
key |
Unique key of the spreadsheet. |
data |
Initial data of the spreadsheet.
Set to |
list with spreadsheet options to be used as a sheet of the
spreadsheet_sheets
parameter in tabulator_options()
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.