Blazor Pager Example - Custom Templates
Order ID | Customer Name | Order Date | Freight | Shipped Date |
|---|
| 1001 | ANTON | 8/9/2026 | $2.10 | 8/11/2026 |
| 1002 | ANANTR | 8/8/2026 | $4.20 | 8/12/2026 |
| 1003 | BLONP | 8/7/2026 | $6.30 | 8/13/2026 |
| 1004 | ALFKI | 8/6/2026 | $8.40 | 8/14/2026 |
| 1005 | BOLID | 8/5/2026 | $10.50 | 8/15/2026 |
| 1006 | ALFKI | 8/4/2026 | $12.60 | 8/16/2026 |
| 1007 | ALFKI | 8/3/2026 | $14.70 | 8/17/2026 |
| 1008 | ANTON | 8/2/2026 | $16.80 | 8/18/2026 |
| 1009 | ANANTR | 8/1/2026 | $18.90 | 8/19/2026 |
| 1010 | ANANTR | 7/31/2026 | $21.00 | 8/20/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