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.
Unfortunately, activation email could not send to your email. Please try again.

Hide Columns in table and nested tables

Thread ID:





33307 Aug 17,2005 11:13 AM Aug 17,2005 03:57 PM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On August 17, 2005 11:13 AM

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

Administrator [Syncfusion]
Replied On August 17, 2005 02:10 PM

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.

Administrator [Syncfusion]
Replied On August 17, 2005 03:57 PM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.