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

Prevent column from being selected

Thread ID:





11077 Feb 23,2004 01:55 PM UTC Feb 23,2004 02:05 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 23, 2004 01:55 PM UTC

I don''t want an entire column to be selected when somone clicks on the column header, what is the best way to prevent this? I still want to allow the columns to be able to be resized though.

Administrator [Syncfusion]
Replied On February 23, 2004 02:05 PM UTC

You can turn off the Column flag in teh AllowSelection property. this.gridDataBoundGrid1.AllowSelection &= ~GridSelectionFlags.Column;


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