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.

How to make a GridControl cell "ReadOnly"

Thread ID:





18960 Sep 14,2004 11:59 AM Sep 14,2004 01:33 PM Windows Forms 2
Tags: GridControl
Asked On September 14, 2004 11:59 AM

I understand I can make a cell readonly by setting Style.ReadOnly = true. However, the user is able click on inside the field and then the cursor would blink. Is it possible to ignore the clicks as well to make the cell really readonly? (FYI. I am using these fields to represent a label/header.) Thanks.

Administrator [Syncfusion]
Replied On September 14, 2004 12:22 PM

Try setting the style.Enabled = false property. Making a cell ReadOnly does not prevent it from becoming the current cell and showing an edit cursor. But disabling the cell will prvent it from becoming the currentcell.

Administrator [Syncfusion]
Replied On September 14, 2004 01:33 PM

Thanks Clay, that is exactly what I was looking for!


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.