set_column_defaults {rtabulator} | R Documentation |
Set column defaults
Description
Set column defaults
Usage
set_column_defaults(
widget,
editor = FALSE,
header_filter = FALSE,
header_sort = TRUE,
tooltip = TRUE,
width = NULL,
...
)
Arguments
widget |
A |
editor |
(character, bool): One of |
header_filter |
(character, bool): One of |
header_sort |
(bool): Whether to enable header sorting. |
tooltip |
(bool): Whether to show tooltips displaying the cell value. |
width |
(integer): Fixed width of columns. |
... |
Additional settings. |
Value
The updated tabulator()
HTML widget
See Also
https://tabulator.info/docs/6.2/columns#defaults
Examples
tabulator(iris, theme = "simple") |>
set_column_defaults(
header_filter = TRUE,
header_sort = FALSE,
tooltip = TRUE
)
[Package rtabulator version 0.1.2 Index]