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

set a cell to read only when populating the grid

Thread ID:





20179 Oct 12,2004 07:17 AM UTC Oct 12,2004 07:50 AM UTC WinForms 1
Tags: Grouping
Administrator [Syncfusion]
Asked On October 12, 2004 07:17 AM UTC

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

Administrator [Syncfusion]
Replied On 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.


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