QuickGrid for Blazor

Paging

It can be expensive both to fetch and to render large numbers of items. If the amount of data you're displaying might be large, you should use either paging or virtualization.

To enable paging, construct an instance of PaginationState and pass it as the grid's Pagination property. To provide a UI for pagination, you can either use the built-in Paginator component, or create a custom UI that reads and modifies the PaginationState instance.

Items per page:
Argentina012
Armenia022
Australia17722
Austria115
Azerbaijan034
Bahamas200
Bahrain010
Belarus133
Belgium313
Bermuda100
93 items

That example also shows how you can change the number of items per page dynamically, just by mutating the PaginationState instance.

Custom paging UI

You can customize the appearance of Paginator by supplying a SummaryTemplate. If you want further customization, you can create your own alternative UI that works with PaginationState. Example:

Argentina012
Armenia022
Australia17722
Austria115
Azerbaijan034
Bahamas200
Bahrain010
Belarus133
Belgium313
Bermuda100
Page:
An unhandled error has occurred. Reload 🗙