update_ds_pagination: Update Pagination Input

View source: R/ds-pagination.R

update_ds_paginationR Documentation

Update Pagination Input

Description

Change the current page or total pages from the server.

Usage

update_ds_pagination(
  session = shiny::getDefaultReactiveDomain(),
  inputId,
  current = NULL,
  total = NULL
)

Arguments

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

Value

Called for its side effect. Returns NULL invisibly.

Examples

## Not run: 
update_ds_pagination(session, "pager", current = 1)

## End(Not run)

shinyds documentation built on Aug. 22, 2026, 5:08 p.m.