AD
Administrator
Syncfusion Team
June 29, 2004 03:09 PM UTC
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.
Stefan
GS
Günter Schwaiger
June 30, 2004 04:45 AM UTC
Thanks. SourceListRecordChanged does it fine.
Guenter