AD
Administrator
Syncfusion Team
November 17, 2003 04:38 PM UTC
To change the text color, use the e.Style.TextColor property.
If you do not want the currentcell to be editable, then the simplest way to make sure it is the same color as the rest of the row is to handle the CurrentCellActivating event, and in the handler set e.ColIndex = 0.
If you want the cell to be editable and show some same colors as the rest of the row, it is possible, but requires a little more work handling PrepareViewStyleInfo and specifically checking for the current cell.
JB
Jeff Block
November 18, 2003 08:21 AM UTC
Perfect on both counts! Non-editable is the desired behavior. Thanks.
Jeff