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

TcxPivotGridCrossCell.SummaryCells Property

Provides indexed access to the summary values calculated for a particular field.

#Declaration

Delphi
property SummaryCells[AIndex: Integer]: TcxPivotGridCrossCellSummary read; default;

#Property Value

Type
TcxPivotGridCrossCellSummary

#Remarks

Summary values are calculated for all the data fields (including the invisible data fields) and the fields whose values are used to determine the sort order for the “sorted by summary“ fields. All these fields are stored in the pivot grid’s SummaryFields property. The summary values for these fields can be accessed via the SummaryCells zero-based indexed collection. To access summary values for a particular field, pass the value of the field’s SummaryIndex property as an index to the cross cell’s SummaryCells collection. Alternatively, you can use the GetSummaryByField function.

Use the OptionsData.CalculationBase property to specify how summary values are calculated.

See Also