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.

Prevent column from being selected

Thread ID:





11077 Feb 23,2004 08:55 AM Feb 23,2004 09:05 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 23, 2004 08:55 AM

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 09:05 AM

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.

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.