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

Auto expand child group row

7 Answers 109 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Juliano Ramos
Top achievements
Rank 1
Juliano Ramos asked on 30 Aug 2011, 08:23 PM
I have a problem with the RadGridView where when I have two group levels when expand the first level the second level auto expand, however only in some times. I try use grid.CollapseAllGroups(); but a problem persist.

How I can resolve this problem?

7 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 31 Aug 2011, 07:45 AM
Hello,

 Can you post more info about the grid version? Is it our latest official Q2 2011?

Best wishes,
Vlad
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Juliano Ramos
Top achievements
Rank 1
answered on 31 Aug 2011, 01:57 PM
My version is Q2 2011.. v.2011.2.712.1040
0
Maya
Telerik team
answered on 03 Sep 2011, 09:23 AM
Hi Eduardo Bonato,

Generally, once you expand certain group, a special key for its expand/collapsed state is saved. Consequently, if you recreate the group or expand the outer one, a group that has been already expanded (without being collapsed afterwards) will be expanded again.
 

Kind regards,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Juliano Ramos
Top achievements
Rank 1
answered on 06 Sep 2011, 07:54 PM

Maya,

the problem occurs in the first time that I load my grid, impossible that the component has saved.

I try force collapse using grid.CollapseAllGroups();, but do not resolve.

This is a know problem?

0
Maya
Telerik team
answered on 07 Sep 2011, 10:22 AM
Hi Eduardo Bonato,

I have tried to reproduce the issue you reported, but unfortunately without any success. May you take a look at the sample attached and verify whether you can get the same behavior on it ? Is there anything more specific that needs to be done for reproducing the case ?
 

Regards,
Maya
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Juliano Ramos
Top achievements
Rank 1
answered on 08 Sep 2011, 03:12 PM
I understand the component, in some times I have the firt level equal to the second level, this cause my problem. I can disable this functionality that save my expanded groups?
0
Maya
Telerik team
answered on 13 Sep 2011, 12:26 PM
Hello Eduardo Bonato,

Generally, the information for the expanded and collapsed state of the groups is internal and cannot be changed explicitly outside. What you can try is to call CollapseAllGroups() method of the grid on ungrouping for example. But this may be quite a heavy operation if you are working with a lot of groups.
 

Best wishes,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Juliano Ramos
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Juliano Ramos
Top achievements
Rank 1
Maya
Telerik team
Share this question
or