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

disable cell change

Thread ID:

Created:

Updated:

Platform:

Replies:

48568 Aug 30,2006 08:28 PM UTC Aug 31,2006 01:48 AM UTC WinForms 1
loading
Tags: GridControl
Charlie Mao
Asked On August 30, 2006 08:28 PM UTC

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 31, 2006 01:48 AM UTC

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.

Thanks,
Megavannan

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.

Please sign in to access our forum

or the page will be automatically redirected to 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

;