Example of Pager Dropdown in ASP.NET Core Data Grid Control
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 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 Grid dynamically.
In this demo, the Grid is rendered with
pageSettings->pageSizes
set to true and
pageSettings->pageCount
is 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