Cancel row selection

2 posts, 0 answers
  1. Greg
    Greg avatar
    28 posts
    Member since:
    Dec 2014

    Posted 09 Apr 2015 Link to this post

    Can you cancel a row selection from within the onSelect event?
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2304 posts

    Posted 10 Apr 2015 Link to this post

    Hello Greg,

    The change event is fired after the selection is made, so instead of preventing it, you could remove the k-state-selected CSS class from the selected rows. I have demonstrated the approach in the following example.

    Regards,
    Dimiter Madjarov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top