AD
Administrator
Syncfusion Team
December 6, 2004 12:01 PM UTC
Try handling the grid.Model.QueryCellInfo event. In your handler, if e.RowIndex and e.ColIndex point to a cell that you may want to disable, then check the criteria you are using, and then conditionally set e.Style.Enable = true or false based on this criteria. (If you need the value for the cell at e.RowIndex, e.COlIndex, then get it from e.Style.CellValue. If you need values for other cells, then you can get them using an indexer on the grid.)