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

[Solved] Group Checkbox not working in SubGroups

1 Answer 154 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris Rusu
Top achievements
Rank 1
Chris Rusu asked on 26 Jul 2011, 03:52 PM
Hi, we are having some issues accessing a second GridViewGroupRow in a Grid with two GridViewGroupDescriptors set.
Both have GroupHeaderTemplates set with a checkbox in each. When a checkbox is clicked in Group 1 it should check the checkbox in Group 2.

For some reason the following is coming back as Count = 0:
((CheckBox)sender).ParentOfType<GridViewGroupRow>().ChildrenOfType<GridViewGroupRow>()

But it clearly has SubGroups (hasSubGroups = true) and we can see each item in the subgroup when debugging.
If the Grid is fully expanded, then the ChildrenOfType<GridViewGroupRow>() are found. The issue only happens when the groups are collapsed.

1 Answer, 1 is accepted

Sort by
0
Satya
Top achievements
Rank 1
answered on 28 Jul 2011, 08:42 PM
I also have the similar issue,  Can some one help on this ?

Tags
GridView
Asked by
Chris Rusu
Top achievements
Rank 1
Answers by
Satya
Top achievements
Rank 1
Share this question
or