Blazor Pager Example - Custom Templates
Order ID | Customer Name | Order Date | Freight | Shipped Date |
|---|
| 1001 | BLONP | 9/18/2026 | $2.10 | 9/20/2026 |
| 1002 | ALFKI | 9/17/2026 | $4.20 | 9/21/2026 |
| 1003 | BLONP | 9/16/2026 | $6.30 | 9/22/2026 |
| 1004 | ALFKI | 9/15/2026 | $8.40 | 9/23/2026 |
| 1005 | BOLID | 9/14/2026 | $10.50 | 9/24/2026 |
| 1006 | ANTON | 9/13/2026 | $12.60 | 9/25/2026 |
| 1007 | ALFKI | 9/12/2026 | $14.70 | 9/26/2026 |
| 1008 | BOLID | 9/11/2026 | $16.80 | 9/27/2026 |
| 1009 | ALFKI | 9/10/2026 | $18.90 | 9/28/2026 |
| 1010 | BOLID | 9/9/2026 | $21.00 | 9/29/2026 |
Page
of 8
This sample demonstrates Pager UI customization using template support.
The Blazor Pager component provides template customization through the Template property, enabling custom pager UI creation. In this demo:
- Two anchor tags render for next and previous page navigation
- Pager info details display between navigation elements
- Anchor tags are disabled based on current page number using Pager APIs