This sample demonstrates the TreeGrid paging feature. In this sample, click the numeric items to navigate to another page. You can also change the page size using the dropdown.

More Details...


Paging allows you to display the contents of the TreeGrid in page segments. By default, paging is disabled. To enable paging, set allowPaging property to true. pageSettings->pageSizes property enables a dropdown in pager which allows you to change the number of records in the TreeGrid dynamically.

In this demo, the TreeGrid is rendered with pageSettings->pageSizes set to true and have an option to change the pagesize of treegrid dynamically.

Injecting Module: TreeGrid 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 configuration can be found in this documentation section.