PageSettingsModel

12 Sep 20251 minute to read

Interface for a class PageSettings

Properties

currentPage number

Defines the current page number of the pager.

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.

pageCount number

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

pageSize number

Defines the number of records to be displayed per page.

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.

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.