AD
Administrator
Syncfusion Team
September 10, 2004 08:53 PM UTC
You cannot explicitly set cell specific properties (other than style.CellValue or style.Text) in a GridDataBoundGrid. Instead you have to use either the grid.PrepareViewStyleInfo event or the grid.Model.QueryCellInfo event to dynamically set such properties. Here is a KB discussing setting specific cells to be ReadOnly. Setting style.Enabled = false would be similar.
http://www.syncfusion.com/Support/article.aspx?id=10351
TS
Todd Swygert
September 13, 2004 04:45 PM UTC
Clay,
Setting the Enabled property to false in QueryCellInfo worked perfectly.
Thanks,
Steve
>You cannot explicitly set cell specific properties (other than style.CellValue or style.Text) in a GridDataBoundGrid. Instead you have to use either the grid.PrepareViewStyleInfo event or the grid.Model.QueryCellInfo event to dynamically set such properties. Here is a KB discussing setting specific cells to be ReadOnly. Setting style.Enabled = false would be similar.
>
>http://www.syncfusion.com/Support/article.aspx?id=10351