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.
Unfortunately, activation email could not send to your email. Please try again.

set a cell to read only when populating the grid

Thread ID:

Created:

Updated:

Platform:

Replies:

20179 Oct 12,2004 03:17 AM Oct 12,2004 03:50 AM Windows Forms 1
loading
Tags: Grouping
Administrator [Syncfusion]
Asked On October 12, 2004 03:17 AM

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 03:50 AM

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.

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.

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.

;