This sample demonstrates the Grid paging feature. In this sample, click the numeric items to navigate to particular page. You can also change the page size using the dropdown.
Paging allows you to display the contents of the Grid component in page segments.
By default, paging is disabled. To enable paging, set
allowPaging property to true.
pageSettings->pagesizesproperty enables a dropdown in pager which allows you to change the number of records in the Grid dynamically.
In this demo, the Grid is rendered with
set to true and
set to 4.
Changed default pager details information using the
totalItemsInfo locale property.
Grid component features are segregated into individual feature-wise modules. To use paging feature, we need to inject
Page module into the
More information on the paging feature configuration can be found in this documentation section.