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

Hidden Columns

Thread ID:





8011 Oct 16,2003 05:10 PM UTC Oct 16,2003 05:33 PM UTC WinForms 1
Tags: GridControl
Charles Carlin
Asked On October 16, 2003 05:10 PM UTC

I have a grid control where the last column is hidden using the following command: gridControl1.Model.HideCols[9] = true; However if I double click on the last column header divider the hidden column is displayed.

Administrator [Syncfusion]
Replied On October 16, 2003 05:33 PM UTC

This behavior is by design. If you want to prevent it, then you can handle the ColsHiding event, and cancel it if the column is being shown.
private void gridControl1_ColsHiding(object sender, GridRowColHidingEventArgs e)
	if(e.Values[0] == false)
		e.Cancel = true;


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon