The Angular Grid paging functionality enables you to split the whole data set into smaller portions and to display only the items corresponding to the current page. This vastly improves the performance in scenarios that involve large data sets. The Grid exposes a number of configuration options for customizing the look and feel of the paging feature.
You can enable the paging feature by using two methods:
When you use the built-in DataBindingDirective
, the Grid performs the paging automatically for you. To enable the paging when the kendoGridBinding
directive is applied:
pageable
option of the Grid.pageSize
property.<kendo-grid
[kendoGridBinding]="gridData"
[pageable]="true"
[pageSize]="5">
<kendo-grid-column field="CompanyName"></kendo-grid-column>
</kendo-grid>
Further details on how the data binding directive works under the hood are available in the data operations with the built-in directive documentation section.
The following example demonstrates the paging functionality with the kendoGridBinding
directive applied.