Category / Section
How to populate the data of the nested table only on expand in WinForms GridGroupingControl?
1 min read
Populate the data of nested table only on expand the list
Data gets
loaded when the data source is assigned to WinForms GridGroupingControl by default. To
populate the data of the nested table only on expanding the child table, use
the property UseLazyUniformChildListRelation. It will optimize the
performance.
C#
//To populate the data of the nested table only on expand
this.grid.UseLazyUniformChildListRelation = true;
VB
'To populate the data of the nested table only on expand
Me.grid.UseLazyUniformChildListRelation = True
The
screenshot below illustrates the nested table data only on expand mode in
GridGroupingControl.