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 GridGroupingControl attached to a dataset with a heirachy of five tables. I have a dialog that allows a user to select which colums they want to have visable at all five levels. How do I walk through the five sets of TableDescriptors so I can add or remove the apropriate VisableColumns?
Thanks!
ADAdministrator Syncfusion Team July 5, 2006 03:12 PM UTC
Hi Bill,
This can be achieved by using the GetTableDescriptor method. The required visible columns can be added or removed by using the corresponding TableDescriptor. The following is the code snippet
>>>>>>>>>>>>>>>>>>>>>>>>
GridTableDescriptor gd = this.gridGroupingControl1.GetTableDescriptor("MyChildTable");
gd.VisibleColumns.Remove("childID");
>>>>>>>>>>>>>>>>>>>>>>>>
Best regards,
Madhan