View source: R/ds-pagination.R
| update_ds_pagination | R Documentation |
Change the current page or total pages from the server.
update_ds_pagination(
session = shiny::getDefaultReactiveDomain(),
inputId,
current = NULL,
total = NULL
)
session |
The Shiny session object |
inputId |
The input ID of the pagination component |
current |
The new current page number |
total |
The new total number of pages |
Called for its side effect. Returns NULL invisibly.
## Not run:
update_ds_pagination(session, "pager", current = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.