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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Make a cell read only to user

Thread ID:

Created:

Updated:

Platform:

Replies:

31673 Jul 12,2005 03:34 PM UTC Jul 12,2005 06:54 PM UTC WinForms 2
loading
Tags: GridControl
Desis Machino
Asked On July 12, 2005 03:34 PM UTC

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 04:24 PM UTC

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 06:54 PM UTC

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

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

;