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

How to make a GridControl cell "ReadOnly"

Thread ID:

Created:

Updated:

Platform:

Replies:

18960 Sep 14,2004 03:59 PM UTC Sep 14,2004 05:33 PM UTC Windows Forms 2
loading
Tags: GridControl
CC
Asked On September 14, 2004 03:59 PM UTC

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

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

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

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

;