PageSettings

12 Sep 20251 minute to read

Configures the paging behavior of the Grid.

Properties

currentPage number

Defines the current page number of the pager.

Defaults to 1

enableQueryString boolean

If enableQueryString set to true,
then it pass current page information as a query string along with the URL while navigating to other page.

Defaults to false

pageCount number

Defines the number of pages to be displayed in the pager container.

Defaults to 8

pageSize number

Defines the number of records to be displayed per page.

Defaults to 12

pageSizes boolean|[]

If pageSizes set to true or Array of values,
It renders DropDownList in the pager which allow us to select pageSize from DropDownList.

Defaults to false

template string|Function

Defines the template which renders customized elements in pager instead of default elements.
It accepts either template string or HTML element ID.

Defaults to null