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 - child and grandChild

Thread ID:





79281 Jan 28,2009 09:14 AM Feb 5,2009 03:29 AM ASP.NET Web Forms (Classic) 3
Tags: Grouping
Administrator [Syncfusion]
Asked On January 28, 2009 09:14 AM

Desire to occult a column of grandchild that I load in execution time. for the initial table that reference parent not meeting difficulties. how I execute in child and grandchild?

Jisha Joy [Syncfusion]
Replied On January 29, 2009 04:20 AM

Hi Nabia,

Please try this code snippet to hide a column in nested table:

GridTableDescriptor td = this.gridGroupingControl1.GetTableDescriptor("ChildTable");

Please let me know if this helps.


Administrator [Syncfusion]
Replied On February 3, 2009 12:26 PM

I inserted the code as it was indicated and occurs this error:

'Syncfusion.Web.UI.WebControls.Grid.Grouping.GridGroupingControl' does not contain a definition for 'GetTableDescriptor'

Rekha P [Syncfusion]
Replied On February 5, 2009 03:29 AM

Hi Nabia,

Thank you for your interest in Syncfusion Products.

Please refer the below code snippet to hide the column in child table.


GridTableDescriptor childTableDescriptor = (GridTableDescriptor)GridGroupingControl1.TableDescriptor.Relations[0].ChildTableDescriptor;
childTableDescriptor.VisibleColumns.Remove("childID"); // childID, ChildTable column name.

Also please refer the sample below which illustrates the above.


Please let me know if this helps you.



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.