pageable.adaptiveModeString(default: "none")

Specifies a value whether the page sizes dropdown will be adaptive. Possible values are:

  • none - The current page.
  • auto - The total number of pages.

Example - configure adaptive mode for pager

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" },
    { productName: "Ham", category: "Food" },
    { productName: "Bread", category: "Food" }
  ],
  pageable: {
    pageSize: 2,
    adaptiveMode: "auto"
  }
});
</script>
In this article
pageable.adaptiveMode
Not finding the help you need?
Contact Support