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.

Make a cell read only to user

Thread ID:





31673 Jul 12,2005 11:34 AM Jul 12,2005 02:54 PM Windows Forms 2
Tags: GridControl
Desis Machino
Asked On July 12, 2005 11:34 AM

I would like to make a cell read only for the user of my application. I have tried to set enabled property to false, however, the user cannot select the cell and thus cannot copy the value if they want to. I have also set the ReadOnly property to false, but in doing that I cannot change any of the values which I need to do via the code. Is there a way for me to set the cell so that I can continue to change other property/values of the cell via the application code, and yet keep the user from changing the cell, and allow the user to select the cell to copy its value. Thanks.

Desis Machino
Replied On July 12, 2005 12:24 PM

I just discovered that I can set a property on the Grid called IgnoreReadOnly that will allow me to set ReadOnly and still allow me to change values programatically.

Administrator [Syncfusion]
Replied On July 12, 2005 02:54 PM

You shoul dtoggle the value of IgnoreReadOnly while you make your changes programatically (as IgnoreReadOnly=true will also allow your users to change values too.)


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.