currentPage


currentPagenumber

Sets or gets the current page.

Setting the currentPage property updates the visual indicator of the pagination bar to display the current page. The currentPage cannot be set to a value greater than totalPages.

If the pagination bar is connected to a dataset, setting currentPage updates the current page of the dataset and updates any relevant elements connected to that dataset.

Getting the currentPage property returns the index of the current page.

Note: Page numbers begin with 1.

Was this helpful?
Yes
No