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

How to make a GridControl cell "ReadOnly"

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.

2 Replies

AD Administrator Syncfusion Team September 14, 2004 04:22 PM UTC

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.

AD Administrator Syncfusion Team September 14, 2004 05:33 PM UTC

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

Live Chat Icon For mobile
Up arrow icon