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.2.dll
Declaration
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.
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.