GridGroup germanyGroup = (GridGroup) this.groupingGrid1.Table.TopLevelGroup.Groups["Germany"];
- or -
int index = this.groupingGrid1.Table.TopLevelGroup.Groups.FindGroup("Germany");
if (index != -1)
{
Group germanyGroup2 = this.groupingGrid1.Table.TopLevelGroup.Groups[index];
Trace.WriteLine(germanyGroup2);
}
You can then iterate through germanyGroup.Groups and/or germanyGroup.Records
We do have a TreeViewAdvDataBound sample in-house which implements pretty much what you describe below. One of our support engineers will update the direct track incident 13004 and send you the TreeViewAdvDataBound sample project.
Thanks,
Stefan