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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Hide Columns in table and nested tables

Thread ID:





33307 Aug 17,2005 03:13 PM UTC Aug 17,2005 07:57 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On August 17, 2005 03:13 PM UTC

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 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.

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

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon