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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to make a column as invisible in the Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

90548 Oct 7,2009 12:24 PM UTC Oct 9,2009 11:43 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Grouping
Ramana
Asked On October 7, 2009 12:24 PM UTC

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.

Lingaraj S [Syncfusion]
Replied On 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.

CONFIRMATION

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.

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

;