This is a migrated thread and some comments may be shown as answers.

unselect all rows

2 Answers 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 04 Oct 2010, 04:17 PM
Hi,

I want to deselect all rows of a grid.

I get grid object by using this :

var
myGrid = $('#myGrid').data('tGrid'); but then, is there a function to unselect all selected rows ? Thanks, David

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 05 Oct 2010, 07:57 AM
Hello David,

 You can try this:

$('#myGrid').find('tr').removeClass('t-state-selected');

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
David
Top achievements
Rank 1
answered on 05 Oct 2010, 08:44 AM
Thanks Atanas. I did something similar and it work.
Tags
Grid
Asked by
David
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
David
Top achievements
Rank 1
Share this question
or