Pagination API overview
Methods
Name | Description |
---|---|
destructor() | removes a pagination instance and releases occupied resources |
getPage() | returns the index of the active page |
getPagesCount() | gets the total number of pages in the pagination |
getPageSize() | returns the number of items displayed per page of the related widget |
setPage() | sets an active page in the related widget |
setPageSize() | sets the number of items displayed on a page of the related widget |
Events
Name | Description |
---|---|
change | fires on changing the active page |
Properties
Name | Description |
---|---|
css | Optional. Adds style classes to the pagination |
data | Required. The data collection of a widget to set into the pagination |
inputWidth | Optional. Sets the width for the input of the pagination |
page | Optional. The index of the initial page set in the pagination |
pageSize | Optional. The number of items displayed per page of the related widget |