Kendo UI for Vue Data Grid Numeric Pagination
Numeric paging in the Kendo UI for Vue Data Grid lets users navigate with numbered buttons and select the number of records per page.
Enabling Numeric Paging
To enable numeric paging in the Grid, follow these steps:
- Enable the
autoProcessDataprop to allow the Grid to handle paging automatically. - Set the
pageableprop of the Grid to enable pagination. - (Optional) Set the
defaultTakeprop to define the number of items rendered initially. - (Optional) Use the
defaultSkipprop to specify the number of items to be skipped initially, determining the starting page.
The following example demonstrates how to implement numeric paging using the built-in state management of the Kendo UI for Vue Grid.
Using a Responsive Pager
The responsive Pager adapts its layout to the available space and is enabled by default. When the numeric page buttons no longer fit, the Pager switches to a compact dropdown. To disable this behavior, set the responsive property of the GridPagerSettings object that you pass to the pageable prop to false.
The following example lets you resize the Grid and toggle the responsive setting to see how the Pager changes when the available space is limited.