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

Get selected state from args for toggle handling?

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Basem
Top achievements
Rank 1
Basem asked on 17 May 2012, 05:48 PM
I would like to enable toggle functionality in the grid selection. So it the state is in selection state, I would like to perform one action. If it is toggled off, I would like another action to be performed. Is there a way to determine this? It would be great to see this property in the grid change (e) handler.

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 18 May 2012, 12:23 PM
Hi Basem,

You can retrieve the selected row/cells through the select method or to use the class "k-state-selected" - it is attached to every selected item.

If you want to detect if a row/cell is being selected or unselected in a multi select mode, I am afraid that this functionality is not supported at present.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Basem
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or