The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I hAve a dataset with two tables are joined by relation.
I Use this dataset as dataSource for GridGroupingControl(2.0.5.0).
How can I turn on grouping for the nested tables?
ADAdministrator Syncfusion Team April 23, 2004 12:23 PM UTC
At design time you can group nested tables only using the GroupedColumns collection editor since the drop-by area is not shown automatically.
At runtime you can make the drop-by area show up by adding the folling line in your forms ctor:
this.gridGroupingControl1.AddGroupDropArea("Orders");
whereas "Orders" needs to be replaced with the name of the nested table.
Check out the HierarchySample and HierarchyView. They both show drop-by area for nested tables.
If you need to get access to the GroupedColumns collection of a nested relation at runtime, you can use the following call:
this.gridGroupingControl1.TableDescriptor.Relations[0].ChildTableDescriptor.GroupedColumns.Add("Country");
Thanks,
Stefan