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

Grid, ReadOnly

Thread ID:

Created:

Updated:

Platform:

Replies:

97582 Dec 14,2010 10:37 AM UTC Dec 16,2010 03:58 AM UTC WinForms 3
loading
Tags: GridControl
asdf
Asked On December 14, 2010 10:37 AM UTC

hi,

why doesn't the color of the cell don't change???
or better, why have the line "grid[2, col].ReadOnly = false;" no effect?
here the code sample.

grid[2, col].ReadOnly = false;
MessageBoxAdv.Show(this,"" + grid[2, col].ReadOnly);
grid[2, col].BackColor = color;

the message box show me that the ReadOnly variable is still true. why??? what do i wrong?

thx & regards,
ladida


Jisha Joy [Syncfusion]
Replied On December 15, 2010 06:00 AM UTC

Hi Ladida,

Please try the following code and let me know if this helps.

this.gridControl1.IgnoreReadOnly = true;
this.gridControl1[2, 2].BackColor = Color.Red;
this.gridControl1.IgnoreReadOnly = false;


Regards,
Jisha


asdf
Replied On December 15, 2010 12:52 PM UTC

hi,

yes, it helps.

ty


Nirmal Raja [Syncfusion]
Replied On December 16, 2010 03:58 AM UTC

Hi Ladida,

Thank you for the update.

Regards,
Nirmal


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

;