Edit this page


Gets or sets the table rows (or cells) which are selected.


rows String |Element |jQuery

A string, DOM element or jQuery object which represents the table row(s) or cell(s). A string is treated as a jQuery selector.


jQuery the selected table rows or cells.

If the Grid is using frozen (locked) columns and row selection, the select method will return two table row elements for each selected item. This is because the frozen columns feature works with the separate tables for the frozen and non-frozen columns. Each pair of table row elements that correspond to the same data item, will have the same data-uid attribute value. One of the table rows will be a descendant of div.k-grid-content-locked and the other one will be a descendant of div.k-grid-content. The two divs are siblings in the Grid DOM structure.

Example - select the first and second table rows

<div id="grid"></div>
  columns: [
    { field: "name" },
    { field: "age" }
  dataSource: [
      { name: "Jane Doe", age: 30 },
      { name: "John Doe", age: 33 }
  selectable: "multiple, row"
var grid = $("#grid").data("kendoGrid");
grid.select("tr:eq(1), tr:eq(2)");
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article