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

disable cell change

Thread ID:





48568 Aug 30,2006 04:28 PM Aug 30,2006 09:48 PM Windows Forms 1
Tags: GridControl
Charlie Mao
Asked On August 30, 2006 04:28 PM

Is there a way to disable a cell to be changed without disabling the entire grid. I dont want users to change the value of a cell, but I still want them to be able to click on the cell and scroll up and down using the arrows.

Administrator [Syncfusion]
Replied On August 30, 2006 09:48 PM

Hi Charlie,

The simplest way to achieve this is by setting the value “true” to the ReadOnly property of a cell. So the user can’t able to change the value of a cell and possible to scroll using the arrows. Below is the code snippet.

this.grid[RowIndex,ColIndex].ReadOnly= true;

let us know if you need any further assistance.



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