items

Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view (e.g. the ones on the current page).

Returns

Array The currently rendered data table rows (<tr> elements).

Example - use items method to access all Grid rows

<button id="selectAll">Select All Rows</button>
<div id="grid"></div>
<script>
  $("#grid").kendoGrid({
    columns: [
      { field: "name" },
      { field: "age" }
    ],
    dataSource: [
      { name: "Jane Doe", age: 30 },
      { name: "John Doe", age: 33 }
    ],
    selectable: "multiple, row"
  });

  $("#selectAll").on("click", function(){
    var grid = $("#grid").data("kendoGrid");
    var allRows = grid.items();

    grid.select(allRows);
  });
</script>
In this article