Hi,
I got it working with this sample code by making sure the child groups are initially not expanded. This can be accomplished by handling the GroupAdded event.
private void gridGroupingControl1_GroupAdded(object sender, GroupEventArgs e)
{
e.Group.IsExpanded = false;
}
Attached find sample code compilable with 3.2.1.0
CS.zip
Stefan
>Hi,
>
>It works fine if you do it on the RecordExpanding event, but I need to do it on the GroupExpanding event.
>In my Scenario there are typically 5-10 ChildTables, and I can''t retrieve ALL childtable Data on the RecordExpanding event, I must do it on the GroupExpanding event - this allows me to know what ChildTable data to retrieve.
>If I do the same on the GroupExpanding event, then It closes all my open rows - you must be able to have existing rows open!
>
>TD