TcxPivotGridCrossCellSummary Class
Stores all the calculated summary values for a cross cell and the settings used to calculate them.
Declaration
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.