AD
Administrator
Syncfusion Team
September 27, 2005 10:03 PM UTC
There is no built in support for coloring individual cells according to some kind of condition in a GriddataBoundGrid.
To color individual cells in a GridDataBoundGrid, you must use the PrepareViewStyleInfo event.
There you can use e.RowIndex, e.ColIndex and e.Style to decide what value to set to e.Style.BackColor. So, you could evaluate some user specified condition at this point to conditionally color a cell in PrepareViewStyleInfo.