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.

Hiding Column and Unhiding Column

Thread ID:

Created:

Updated:

Platform:

Replies:

52628 Dec 1,2006 01:49 AM Dec 1,2006 02:03 AM Windows Forms 1
loading
Tags: GridControl
Tannearu Hazarathaiah Gupta
Asked On December 1, 2006 01:49 AM

Hi,
I am using Grid Groupping Control.

Hide and Unhide Column.

Please resolve the problem asap


Regards
Tannearu

Administrator [Syncfusion]
Replied On December 1, 2006 02:03 AM

Hi Tannearu,

Use the VisibleColumns property of the GridTableDescriptor to show / hide / move the columns in the grid. Below is a code snippet

//For hide the "Col0" column
this.grid.TableDescriptor.VisibleColumns.Remove("Col0");

//For show the "Col0" column
this.grid.TableDescriptor.VisibleColumns.Add("Col0");

Best Regards,
Haneef

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.

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.

;