The Kendo Grid has select() method, but is missing unselect() method. I believe that it will be a good and useful addition to the grid.
Hi,
To remove all selected rows in a Grid, you could use the clearSelection method - https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/methods/clearselection
For a single row, until this is implemented, a possible solution is to add custom logic to your apps that look like this:
function removeRowSelection(tr) {
tr.removeClass("k-state-selected");
};
removeRowSelection($("#grid tbody tr").eq(0));
Regards,
Preslav
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.