clearSelection

Clears the currently selected table rows or cells (depending on the current selection mode).

By default clearSelection will clear the selected rows on the current page only when persistSelection is enabled. In order to clear all selected rows follow the approach in this Knowledge Base article.

Example - clear selection

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { field: "age" }
  ],
  dataSource: [
    { name: "Jane Doe", age: 30 },
    { name: "John Doe", age: 33 },
  ],
  selectable: true
});
var grid = $("#grid").data("kendoGrid");
// select the first table row
grid.select("tr:eq(1)");
grid.clearSelection();
</script>
In this article
Not finding the help you need? Improve this article