set_options_group_by {rtabulator} | R Documentation |
Set group by options
Description
Set group by options
Usage
set_options_group_by(
widget,
group_by,
group_start_open = TRUE,
group_toggle_element = "header",
...
)
Arguments
widget |
A |
group_by |
(character vector): Field to group rows by. Pass multiple values for multi level grouping. |
group_start_open |
(bool vector): Open state of groups when grouping is enabled.
The length of the vector depends on the number of levels set with |
group_toggle_element |
(character, bool): One of |
... |
Further options. |
Value
The updated tabulator()
HTML widget
Examples
tabulator(iris) |>
set_options_group_by("Species", group_start_open = FALSE)
[Package rtabulator version 0.1.2 Index]