The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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.
Thanks
Guenter Schwaiger
ADAdministrator 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
GSGünter SchwaigerJune 30, 2004 04:45 AM UTC
Thanks. SourceListRecordChanged does it fine.
Guenter