View source: R/tabulator_options.R
set_options_pagination | R Documentation |
Set pagination options
set_options_pagination(
widget,
pagination = TRUE,
pagination_size = 10,
pagination_size_selector = FALSE,
pagination_add_row = c("page", "table"),
...
)
widget |
A |
pagination |
(bool): Whether to enable pagination. |
pagination_size |
(integer): Number of rows on each page. |
pagination_size_selector |
(list): Add pagination size selector. |
pagination_add_row |
(character): Where to add rows to the table when pagination is enabled. |
... |
Further options. |
The updated tabulator()
HTML widget
tabulator(iris) |>
set_options_pagination(pagination_size_selector = c(10, 20, 50))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.