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
close icon

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 & Regards,
Ramana.

1 Reply

LS Lingaraj S Syncfusion Team October 9, 2009 11:43 AM UTC

Hi Ramana,

Thank you for your interest in Syncfusion products.

If you don't want to show the column in GridGroupingControl, then please try using TableDescriptor.VisibleColumnCollection in GridGroupingControl to achieve your requirement.

Refer the code below:

this.gridGroupingControl1.DataSource = GetTableDetails();
this.gridGroupingControl1.TableDescriptor.VisibleColumns.Remove("Cost");


Please let me know if you have any queries.
http://files.syncfusion.com/support/samples/Grid.Windows/7.3.0.20/Forums/GGCColumnRemove.zip

Please let me know if you have any queries.

Regards,
Lingaraj S.

Loader.
Live Chat Icon For mobile
Up arrow icon