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

TcxPivotGridCrossCellSummary Class

Stores all the calculated summary values for a cross cell and the settings used to calculate them.

#Declaration

Delphi
TcxPivotGridCrossCellSummary = class(
    TObject
)

#Remarks

The TcxPivotGridCrossCellSummary class:

  • provides access to the field which the summary values are calculated for (via the DataField property);

  • provides access to the cross cell which provides the drilldown data records used to calculate summary values and determines its location via the Owner, Owner.Column and Owner.Row properties, respectively;

  • provides access to the indexes of the data records used to calculate summary values (via the Records property);

  • provides access to the summary values that have been calculated using built-in summary functions (refer to the TcxPivotGridSummaryType topic for details);

  • allows to specify a custom summary value for a field via the Custom property. If the field is in variation mode (the field’s SummaryVariation property is set to svAbsolute or svPercent value), you can use the summary object’s SummaryVariation property to specify the difference between this value and the previously calculated summary value.

Use the pivot grid’s OptionsData.CalculationBase property to specify how summary values are calculated.

#Inheritance

TObject
TcxPivotGridCrossCellSummary
See Also