Skip to main content

TcxPivotGridViewDataItem.GetSummaryType(TcxPivotGridSummaryType,TcxPivotGridCustomTotal) Method

Queries the summary function’s type used for the currently processed field value.

Declaration

function GetSummaryType(var ASummaryType: TcxPivotGridSummaryType; var ATotal: TcxPivotGridCustomTotal): Boolean; virtual;

Parameters

Name Type
ASummaryType TcxPivotGridSummaryType
ATotal TcxPivotGridCustomTotal

Returns

Type
Boolean

Remarks

The ASummaryType parameter specifies the summary function’s type used for the currently processed field value. Note: if the ATotal parameter’s value is nil, then the summary function’s type of the parent field value will be assigned (see the Parent property).

The ATotal parameter specifies the custom total, if available.

The GetSummaryType method returns a value of True, if the currently processed field value is the custom total.

See Also