Search code examples
angularkendo-uitelerikkendo-gridangular8

Angular Kendo Grid: Go To Page Input and Next Buttons


Is there a way in Kendo Grid to place a "Go to Page" Input Search button as one below? We want Both next/back buttons And a Go To Page Input. Is that possible? Trying to read through documentation.

https://www.telerik.com/kendo-angular-ui/components/grid/paging/

![enter image description here


Solution

  • The answer is on the link you provided. Go down to section Pager Types. It says : "type—Accepts the numeric (buttons with numbers) and input (input for typing the page number) values."

    Just set type to input to have a "Go to Page" input.

    [pageable]="{
      buttonCount: buttonCount,
      info: info,
      type:'input',
      pageSizes: pageSizes,
      previousNext: previousNext
    }"