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

how to make a column as invisible in the Grid

I'm having two tables tabel1 and table2.I would like to know how a column present in table1 and table2 can be made invisble in the GridGroupingControl1 in Windows using C#.

Thanks 7 Regards,
Ramana.

1 Reply

RC Rajadurai C Syncfusion Team October 12, 2009 06:01 AM UTC

Hi Ramana,

Thanks for your interest in Syncfusion Products.

If grid is binded with different tables, the tabledescriptor of the specific table can be retrieved and changes to that table can be applied through this tabledescriptor object. Here is the C# code for your reference.

GridTableDescriptor td = this.gridGroupingControl1.GetTableDescriptor([TableName]);
td.VisibleColumns.Remove([columnname]);


Regards,
Rajadurai

Loader.
Live Chat Icon For mobile
Up arrow icon