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

GridControl: ReadOnly flag and Images.

Hello. Is it possible to make same behavior for text cells, as with ReadOnly flag on the control, but not for all cells :) ? Readonly means text both not entered and not saved. Actually, I inserting some images in the control cells in code and those images does not appears with ReadOnly flag.

1 Reply

AD Administrator Syncfusion Team August 25, 2004 01:56 AM

In a GridControl, setting grid[row,col].ReadOnly = true should only affect the cell at (row, col). But later, if you want to change this cell style at (row, col), you will not be able to since it is readonly unless you temporarily turn off the readonly as in this code: grid.IgnoreReadOnly = true; grid[row, col].ImageIndex = 3;//whatever grid.IgnoreReadOnly = false;

Loader.
Live Chat Icon For mobile
Up arrow icon