We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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!

Live Chat Icon For mobile
Up arrow icon