Example of Paging in React Grid Component

/
/
Paging

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.

More Details...

Loading....
Description

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 pageSettings->pageSizes set to true and pageSettings->pageCount set to 4.

The Pager component has been enhanced to be more responsive. It now includes the ability to automatically resize itself and dynamically show or hide pager items based on the width of the Grid.

Changed default pager details information using the totalItemsInfo locale property.

Injecting Module:

Grid component features are segregated into individual feature-wise modules. To use paging feature, we need to inject Page module into the services.

More information on the paging feature configuration can be found in this documentation section.