New to Kendo UI for jQuery? Start a free 30-day trial

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.

<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>
Not finding the help you need?
Contact Support