New to Kendo UI for Angular? Start a free 30-day trial


Represents the pager template which helps to customize the pager appearance. To define a pager template, nest an <ng-template> tag with the kendoDataPagerTemplate directive inside <kendo-datapager>.

The template context provides the following fields:

  • currentPage—The index of the displayed page.
  • pageSize—The value of the current pageSize.
  • skip—The current skip value.
  • total—The total number of records.
  • totalPages—The total number of available pages.

    selector: 'my-app',
    template: `
      <kendo-datapager [total]="total" [pageSize]="pageSize" [skip]="skip" (pageChange)="onPageChange($event)">
          <ng-template kendoDataPagerTemplate let-totalPages="totalPages" let-currentPage="currentPage">
              <kendo-datapager-numeric-buttons [buttonCount]="10"></kendo-datapager-numeric-buttons>
              Current page: {{currentPage}}

class AppComponent {
    public skip = 0;
    public pageSize = 10;
    public total = 100;

    public onPageChange(e: any): void {
        this.skip = e.skip;
        this.pageSize = e.take;



In this article

Not finding the help you need?