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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

No subject

Thread ID:





2644 Feb 6,2003 05:36 PM UTC Feb 6,2003 07:42 PM UTC WinForms 1
Tags: GridControl
Asked On February 6, 2003 05:36 PM UTC

How do you prevent the end user from editing a grid? If have tried setting .Enabled to true, but it doesn't prevent the end user from editing a cell. I have also tried, .ReadOnly=true and it prevents all changes, even from code. Is there anyway to allow changes by code but not by the end user?

Administrator [Syncfusion]
Replied On February 6, 2003 07:42 PM UTC

Try .ReadOnly but when you want to make changes from code then sandwich the changes you want to make into DiscardReadOnly calls. Example: DiscardReadOnly = true; // now you can make changes to readonly cells; DiscardReadOnly = false; Stefan


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon