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
<div id="treelist"></div>
<script>
  $("#treelist").kendoTreeList({
    columns: [
      { field: "Name" },
      { field: "Position" }
    ],
    dataSource: [
      { id: 1, Name: "Daryl Sweeney", Position: "CEO", parentId: null },
      { id: 2, Name: "Guy Wooten", Position: "Chief Technical Officer", parentId: 1 }
    ],
    pageable: {
      adaptiveMode: "auto",
      pageSize: 5
    }
  });
</script>In this article