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.
Syncfusion Feedback

Prevent column from being selected

Thread ID:

Created:

Updated:

Platform:

Replies:

11077 Feb 23,2004 01:55 PM UTC Feb 23,2004 02:05 PM UTC Windows Forms 1
loading
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;

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.

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

;