set_column_defaults | R Documentation |
Set column defaults
set_column_defaults(
widget,
editor = FALSE,
header_filter = FALSE,
header_sort = TRUE,
tooltip = TRUE,
width = NULL,
...
)
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. |
The updated tabulator()
HTML widget
https://tabulator.info/docs/6.2/columns#defaults
tabulator(iris, theme = "simple") |>
set_column_defaults(
header_filter = TRUE,
header_sort = FALSE,
tooltip = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.