The following example shows how to handle the PivotGridControl.CustomDrawCell event to paint Pivot Grid cells according to the cell's state (selected or unselected) and the cell's type (data cells or grand total cells).
The following image illustrates the resulting UI:
- Pivot Grid for WinForms - Change the Field Value Header Background with the CustomDrawFieldValue Event
- Pivot Grid for WinForms - Draw a Custom Element when a User Hovering Over Field Value with a Mouse
(you will be redirected to DevExpress.com to submit your response)