Prevent Selecting when Expand/Collapse

2 posts, 0 answers
  1. Jugoslav
    Jugoslav avatar
    72 posts
    Member since:
    Mar 2011

    Posted 22 Jan 2017 Link to this post

    I have allowed the Row Selection for the RadGrid 

    <Selecting AllowRowSelect="true" />

    and it works fine except that I don't want to select the row if the expand/collapse column is clicked. 

    Meaning I want to only see the details table of the certain item without selecting it. How to achieve that? 

    Thank you

     

  2. Milena
    Admin
    Milena avatar
    257 posts

    Posted 25 Jan 2017 Link to this post

    Hello,

    You can achieve this from client side by attaching 'OnRowSelecting' client event and check for the condition. Now cancel the event using "eventArgs.set_cancel(true)" method based on condition.

    Regards,
    Milena
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top