Get selected state from args for toggle handling?

2 posts, 0 answers
  1. Basem
    Basem avatar
    27 posts
    Member since:
    Dec 2010

    Posted 17 May 2012 Link to this post

    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.
  2. Alexander Valchev
    Alexander Valchev avatar
    2873 posts

    Posted 18 May 2012 Link to this post

    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!
Back to Top