This question is locked. New answers and comments are not allowed.
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.
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.