Back to Devexpress

TcxPivotGridViewDataItem.GetSummaryType(TcxPivotGridSummaryType,TcxPivotGridCustomTotal) Method

vcl-cxcustompivotgrid-dot-tcxpivotgridviewdataitem-dot-getsummarytype-x28-cxcustompivotgrid-dot-tcxpivotgridsummarytype-cxcustompivotgrid-dot-tcxpivotgridcustomtotal-x29.md

latest1.5 KB
Original Source

TcxPivotGridViewDataItem.GetSummaryType(TcxPivotGridSummaryType,TcxPivotGridCustomTotal) Method

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

Declaration

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

Parameters

NameType
ASummaryTypeTcxPivotGridSummaryType
ATotalTcxPivotGridCustomTotal

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

TcxPivotGridViewDataItem Class

TcxPivotGridViewDataItem Members

cxCustomPivotGrid Unit