Control Blazor DataGrid paging from code - set the page size, page-size options, and the current page, and respond to page changes.
OrderID | ProductID | Unit Price | Quantity | Discount |
|---|---|---|---|---|
| 10248 | 11 | $14.00 | 12 | 0% |
| 10248 | 42 | $9.80 | 10 | 0% |
| 10248 | 72 | $34.80 | 5 | 0% |
| 10249 | 14 | $18.60 | 9 | 0% |
| 10249 | 51 | $42.40 | 40 | 0% |
| 10250 | 41 | $7.70 | 10 | 0% |
| 10250 | 51 | $42.40 | 35 | 15.000001% |
| 10250 | 65 | $16.80 | 15 | 15.000001% |
| 10251 | 22 | $16.80 | 6 | 5% |
| 10251 | 57 | $15.60 | 15 | 5% |
Set PageSize and PageSizeOptions, use GoToPage or the Page property to change pages, and handle the PageChanged event.
Get an email when new components and releases ship.
With Radzen Blazor subscription you get the full toolkit, including:
Dedicated support backed by proven expertise
Premium themes and theme editor
Ready-to-use UI blocks
Complete app templates
Visual design-time-experience

Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under
MIT
Premium Themes
Free Themes