BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridGroupingControl1_RecordExpanding(object sender, RecordEventArgs e) { if ( childTable.Rows.Count <= 0 ) { PopulateChildTable ( childTable ); e.Record.ParentChildTable.CollapseAllRecords(); } }
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