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?
Solution. When selection is enabled in the Grid component, the built-in option for deselecting a row or selecting multiple rows is Ctrl + click.
please add 'k-state-disabled' class for disabled thing in kendo. so find element which you want to disable and add this class.. $("#grid").
Use clearSelection
:
var grid = $("#grid").data("kendoGrid");
grid.clearSelection();
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..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With