Hide Columns in table and nested tables

Hi, how can I hide a column in a gridgroupingcontrol. And also how can I hide a column in a nested table of the gridgroupingcontrol. Cheers Markus

2 Replies

AD Administrator Syncfusion Team August 17, 2005 06:10 PM UTC

You have to get the Tabledescriptors for each table. GridTableDescriptor parentTD = this.gridGroupingControl1.TableDescriptor; GridTableDescriptor childTD = parentTD.Relations["ParentToChild"].ChildTableDescriptor; GridTableDescriptor grandChildTD = childTD.Relations["ChildToGrandChild"].ChildTableDescriptor; Once you have the tabledescriptors, you can use the tableDescriptor.VisibleColumns collection to control the visible columns using calls like parentTD.VisibleColumns.Remove or parentTD.VisibleColumns.RemoveAt.


AD Administrator Syncfusion Team August 17, 2005 07:57 PM UTC

Thank''s Clay that''s just I am looking for :-)) Great support!

Loader.
Up arrow icon