PagerModel
12 Sep 20251 minute to read
Interface for a class Pager
Properties
click EmitType<Object>
Triggers when click on the numeric items.
created EmitType<Object>
Triggers when Pager is created.
cssClass string
Defines the own class for the pager element.
currentPage number
Defines the current page number of pager.
customText string
Defines the customized text to append with numeric items.
dropDownChanged EmitType<Object>
Triggers after pageSize is selected in DropDownList.
enableExternalMessage boolean
If enableExternalMessage set to true, then it adds the message to Pager.
enablePagerMessage boolean
If enablePagerMessage set to true, then it adds the pager information.
enablePersistence boolean
Enable or disable persisting component’s state between page reloads.
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.
enableRtl boolean
Enable or disable rendering component in right to left direction.
externalMessage string
Defines the external message of Pager.
locale string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
pageCount number
Defines the number of pages to display in pager container.
pageSize number
Defines the records count of visible 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 as string or HTML element ID which renders customized elements in pager instead of default elements.
totalRecordsCount number
Gets or Sets the total records count which is used to render numeric container.