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.
I have 2 questions regarding colors in a virtual grid:
1) I would like to have as row/column headers a simple gray color, not any skin. How could I do this?
2) I would like to color the text for some cells (the cells with null values, that display a minus sign (I would like a red minus sign :-) ) (I fill in this value in the QueryCellInfo event handler.
I found the needed property for the second question: e.Style.TextColor = Color.Red; So, only the first question remains :-)
Lucia
HAhaneefm Syncfusion Team July 31, 2007 03:37 PM UTC
Hi Lucia,
In a virtual grid, if you want to change a header cell's backcolor, you have to do it by setting e.Style.BackColor ( also set e.Style.Themed property to false) in your QeryCellInfo handler.