Hi Chris,
Thanks for using Syncfusion products.
If you want to change the color of the headers or any cells in the PivotGridControl, you can use the QueryCellInfo event of the TableModel. The cell type can be checked by using CellType property. Please make use of below code,
Code Snippet:
//Trigerring the event.
this.pivotGridControl1.TableModel.QueryCellInfo += new Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventHandler(TableModel_QueryCellInfo);
void TableModel_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
//Checking the header cells.
if (e.Style.CellType == "PivotGridHeaderCell")
{
e.Style.Themed = false;
e.Style.BackColor = Color.LightPink;
}
//Checking the total value cells.
if (e.Style.CellType == "PivotGridTotalValueCell")
{
e.Style.BackColor = Color.LightGreen;
}
}
Sample
Regards,
Neelakandan