Articles in this section
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.

Populate the data of nested table on expanded item

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied