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
close icon

set a cell to read only when populating the grid

How can I set a cell to read only when I populate the grid ? this is the scenario: if isTested = 1 then ''set cell to read only end if thanks

1 Reply

AD Administrator Syncfusion Team October 12, 2004 07:50 AM UTC

If you want to set properties on a cell by cell basis, then you will have to do it using QueryCellStyleInfo. You can use ConditionFormats to set row properties, and you can Columns to set column properties. But to set individual cell properties, you will need to use QueryCellStyleInfo. The GridControl allows you to set indivual cell properties directly, but both GridDataBoundGrid and GridGroupingControl require you to use an event to do this.

Loader.
Live Chat Icon For mobile
Up arrow icon