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

GridControl: ReadOnly flag and Images.

Thread ID:





18164 Aug 25,2004 06:26 AM UTC Aug 25,2004 06:56 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 25, 2004 06:26 AM UTC

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.

Administrator [Syncfusion]
Replied On August 25, 2004 06:56 AM UTC

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;


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