I want to change the forecolor of a hole row depending on the status of an order item (Payed, canceled or in production).
Is there an event where I can set the fore color for the hole row, or have I set it cell by cell in QueryCellStyleInfo event.
ADAdministrator Syncfusion Team June 29, 2004 11:09 AM
You could do that cell by cell with QueryCellStyleInfo.
Another option is to change the appearance for the record, e.g.
if (record is GridRecord)
((GridRecord) r).Appearance.AnyRecordFieldCell.BackColor = Color.Blue;
else if (record is GridAddNewRecord)
((GridAddNewRecord) r).Appearance.AnyRecordFieldCell.BackColor = Color.Blue;
An event where you could set the appearance of the record would be SourceListRecordChanging.
GSGünter SchwaigerJune 30, 2004 12:45 AM
Thanks. SourceListRecordChanged does it fine.