AD
Administrator
Syncfusion Team
March 22, 2005 06:30 PM UTC
You cannot turn PrepareViewStyleInfo off on a cell by cell basis.
And, you have to continually set the color in PrepareViewStyleInfo or the color will be lost the next time the cell is drawn.
So, you need to track down why PrepareviewStyleInfo is getting the wrong color. If you post your handler code here, maybe we can suggest something.
If the color is set on a column basis, you can set it using GridBoundColumn.StyleInfo.Color for teh column. But if it varies from cell to cell, then you will have to use PrepareViewStyleInfo in a GridDataBoundGrid.