New to Kendo UI for Angular? Start a free 30-day trial
Implementing an Alphabetic Pager for the Grid
Updated on Jan 20, 2026
Environment
| Product | Progress® Kendo UI® for Angular Grid |
Description
How can I implement an alphabetic pager for the Kendo UI for Angular Grid component?
Solution
-
Use the
kendoPagerTemplatedirective to create a custom pager that includes buttons with letters for filtering.html<ng-template kendoGridToolbarTemplate position="bottom"> <button kendoButton (click)="onLoadAll()">ALL</button> @for (letter of letters; track letter) { <button kendoButton (click)="onClick(letter)"> {{ letter }} </button> } </ng-template> -
To filter the Grid data based on the clicked letter, handle the
clickevent of the buttons and pass the letter string as a filter parameter.tspublic onClick(letter: string): void { this.gridView = products.filter((item) => item.ProductName.startsWith(letter) ); }
The following example demonstrates the suggested approach.
Change Theme
Theme
Loading ...