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

An Easier Way To Hide Columns

Thread ID:





57347 Mar 1,2007 08:42 PM UTC Mar 1,2007 09:23 PM UTC WinForms 1
Tags: GridControl
Asked On March 1, 2007 08:42 PM UTC

I know that if you want to hide a column you can remove the column from the visible columns collection. Is there an easier way that does not require you to remember the position of the column so that when you make it visible you add it back in the correct order. I'm using the GGC.

Administrator [Syncfusion]
Replied On March 1, 2007 09:23 PM UTC

Hi Joel,

You can use the RemoveAt and Insert method of the GridVisibleColumnCollection to hide and show the column at required postion. Here is a code snippet.

//Hide the column.
//show the column at specific position.

Best regards,


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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