Reputation: 630
I am selecting the listview record on databound event. I have written the following code in databound
var grid = $("#grid").data("kendoGrid");
grid.select(grid.tbody.find(">tr:first"));
Now i want to deselect the grid dynamically. How can I do that?
Upvotes: 20
Views: 27252
Reputation: 40887
Use clearSelection
:
var grid = $("#grid").data("kendoGrid");
grid.clearSelection();
Upvotes: 44
Reputation: 431
kendo grid has a property called selectable:true
..this would select the entire row when clicked upon and to de-select the row simply press ctrl+the row which is selected..
Upvotes: 4