PagerComponent
Selector
kendo-datapager
Export Name
Accessible in templates as #kendoPagerInstance="kendoDataPager"
Inputs
buttonCount
number
Sets the maximum numeric buttons count before the buttons are collapsed.
info
boolean
Toggles the information about the current page and the total number of records.
pageSize
number
Defines the number of data items per page.
previousNext
boolean
Toggles the Previous and Next buttons.
skip
number
Defines the number of data items to be skipped.
total
number
Represents the total number of data items in the collection.
type
Defines the type of the pager.
pageSizeValues
boolean | Array<undefined>
Shows a dropdown for selecting the page size.
When set to true
, the dropdown will contain the default list of options - 5, 10, 20.
To customize the list of options, set pageSizeValues
to an array of the desired values.
The array can contain numbers and PageSizeItem objects.
Events
pageChange
Fires when the current page of the Pager is changed (see example). You have to handle the event yourself and page the data.
pageSizeChange
Fires when the page size of the Pager is changed. You have to handle the event yourself and page the data. If the event is prevented, the page size will remain unchanged (see example).