PivotCustomFieldValueCellsEventArgsBase Class
Serves as the base for classes that provide data for the CustomFieldValueCells event.
Namespace: DevExpress.XtraPivotGrid.Data
Assembly: DevExpress.PivotGrid.v24.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
Declaration
Remarks
The CustomFieldValueCells event occurs after the layout of the PivotGridControl is changed, allowing you to customize column and row headers: field value cells, data field, total and grand total headers. Use the PivotCustomFieldValueCellsEventArgsBase.GetCellCount method to obtain the total number of column and row headers.
The PivotCustomFieldValueCellsEventArgsBase event parameter allows you to specify the location of grand total headers. To do this, use the PivotCustomFieldValueCellsEventArgsBase.SetGrandTotalLocation method. To obtain the current location of grand total headers, use the PivotCustomFieldValueCellsEventArgsBase.GetGrandTotalLocation method.
When handling the CustomFieldValueCells event, use the PivotCustomFieldValueCellsEventArgsBase.Remove method, to remove individual cells with their nested columns and rows.