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

Collapse all the groups in radgrid

1 Answer 250 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thiyagu
Top achievements
Rank 1
Thiyagu asked on 11 May 2012, 04:59 PM
Hi,

I am using radgrid for grouping datas. Currently there are two groups and i want all the groups to be collapsed by default. I have used the property GroupsDefaultExpanded but it is collapsing only the root groups. I confirmed this behaviour from the link below.  http://www.telerik.com/help/aspnet-ajax/grid-group-load-modes.html - in the caution section. I also checked that once the root item is expanded the child groups button click is also called and those items are also expanding. I need a solution to collapse the inner level groups on expanding the outer level groups. Is there a workaround for that. It would be very helpful if there is something.

Thank you.



1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 15 May 2012, 05:21 PM
Thiyagu,

If I understand your requirement correctly, I believe that you will find a workable solution that uses JavaScript in the following forum thread:

RadGrid Grouping, Single Row Expand using Javascript.

I hope this helps!
Tags
Grid
Asked by
Thiyagu
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or