table jQuery

The jQuery object which represents the grid table element.

Example - get the Grid alternating rows

<div id="grid"></div>
<script>
  $("#grid").kendoGrid({
    columns: [
      { field: "name" },
      { field: "age" }
    ],
    dataSource: [
      { name: "Jane Doe", age: 30},
      { name: "John Doe", age: 33},
    ]
  });
  var grid = $("#grid").data("kendoGrid");
  var altRows = grid.table.find("tr.k-alt");
  altRows.css("background", "#afeeee");
</script>
In this article
Not finding the help you need? Improve this article