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

Collapse/Expand all in RadGrid

4 Answers 1274 Views
UI for ASP.NET AJAX in ASP.NET MVC
This is a migrated thread and some comments may be shown as answers.
Amy
Top achievements
Rank 1
Amy asked on 12 Jun 2013, 01:41 PM
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. 

4 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 17 Jun 2013, 08:13 AM
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.
0
Amy
Top achievements
Rank 1
answered on 17 Jun 2013, 02:32 PM
This is exactly what I needed; thanks!
0
RB
Top achievements
Rank 1
answered on 12 Mar 2014, 09:45 PM
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.
0
Eyup
Telerik team
answered on 17 Mar 2014, 11:57 AM
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.

 
Tags
UI for ASP.NET AJAX in ASP.NET MVC
Asked by
Amy
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Amy
Top achievements
Rank 1
RB
Top achievements
Rank 1
Share this question
or