Skip to main content

PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetGrandTotal(TField) Method

Gets the Grand Total value for the specified field.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

#Declaration

public object GetGrandTotal(
    TField dataField
)

#Parameters

Name Type Description
dataField TField

A T object which represents the field whose Grand Total is returned.

#Returns

Type Description
Object

An object which represents the Grand Total value.

#Remarks

Grand Totals are located where the Row Grand Totals and Column Grand Totals cross as shown in the image below:

DXPivotGrid_GrandTotals

See Also