Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XRPivotGrid.CustomCellValue Event

Allows you to replace cell values with custom ones.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.2.dll

NuGet Package: DevExpress.Reporting.Core

#Declaration

public event EventHandler<PivotCellValueEventArgs> CustomCellValue

#Event Data

The CustomCellValue event's data class is DevExpress.XtraReports.UI.PivotGrid.PivotCellValueEventArgs.

#Remarks

The CustomCellValue event fires for each cell. You can handle it to replace the calculated cell values with custom ones.

Note

Values provided via the CustomCellValue event cannot be used to sort data according to the PivotGridFieldBase.SortBySummaryInfo object’s settings.

See Also