Skip to main content

PivotCustomDrawCellBaseEventArgs.GetColumnGrandTotal(PivotGridField) Method

Returns a Column Grand Total value calculated for the current row field values, against the specified data field.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v24.1.dll

NuGet Package: DevExpress.Win.PivotGrid

Declaration

public object GetColumnGrandTotal(
    PivotGridField dataField
)

Parameters

Name Type Description
dataField PivotGridField

A PivotGridField object that specifies the data field, against which the required Column Grand Total is calculated.

Returns

Type Description
Object

The Column Grand Total value calculated for the current row field values, against the specified data field.

Remarks

Column Grand Totals are columns that display summary totals calculated against all columns.

GetGrandTotal-method

For more information on Grand Totals, see Grand Totals.

Note

If you call the GetColumnGrandTotal method while an asynchronous operation is being performed, an exception will be thrown. To determine whether the operation is in progress, use the pivot grid’s IThreadSafeAccessible.IsAsyncInProgress property. For more information, see Asynchronous Mode.

See Also