Collapse/Expand all in RadGrid

Thread is closed for posting
5 posts, 0 answers
  1. Amy
    Amy avatar
    2 posts
    Member since:
    Dec 2012

    Posted 12 Jun 2013 Link to this post

    I've got a RadGrid on my page with one level of DetailTables.  Each detail table has a chevron next to it that collapses that table.  I'd like to have a chevron on the master table that expands or collapses all the detail tables (if any are expanded, it collapses them all; otherwise, it expands them all).  Is this a setting that can be set?  I would rather have the same look and feel, rather than using a button to expand or collapse all the tables. 
  2. Eyup
    Admin
    Eyup avatar
    3009 posts

    Posted 17 Jun 2013 Link to this post

    Hello Amy,

    Thank you for contacting us.

    The requested functionality is in-built in the 2013 Q2 release version of RadControls. Please check out this new feature and let us know if it works for you:
    http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/expandall/defaultcs.aspx

    Regards,
    Eyup
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Amy
    Amy avatar
    2 posts
    Member since:
    Dec 2012

    Posted 17 Jun 2013 Link to this post

    This is exactly what I needed; thanks!
  5. RB
    RB avatar
    126 posts
    Member since:
    Dec 2013

    Posted 12 Mar 2014 in reply to Eyup Link to this post

    In my case if one group is collapsed and I try to collapse another group, the previously collapsed group expands. Only one group can be collapsed at a time. I cant collapse 2 or more one after other without loosing the previous collapse! Please let me know why this is happening.
  6. Eyup
    Admin
    Eyup avatar
    3009 posts

    Posted 17 Mar 2014 Link to this post

    Hi Ruchi,

    Please check whether you have set any properties disabling or limiting the Viewstate of the control. Can you reproduce this behavior with this sample as well?
    http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/declarative-relations/defaultcs.aspx

    Regards,
    Eyup
    Telerik
     

    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017