Back to Devexpress

PivotCustomDrawCellBaseEventArgs.GetRowGrandTotal(PivotGridField) Method

windowsforms-devexpress-dot-xtrapivotgrid-dot-pivotcustomdrawcellbaseeventargs-dot-getrowgrandtotal-x28-devexpress-dot-xtrapivotgrid-dot-pivotgridfield-x29.md

latest2.9 KB
Original Source

PivotCustomDrawCellBaseEventArgs.GetRowGrandTotal(PivotGridField) Method

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

Namespace : DevExpress.XtraPivotGrid

Assembly : DevExpress.XtraPivotGrid.v25.2.dll

NuGet Package : DevExpress.Win.PivotGrid

Declaration

csharp
public object GetRowGrandTotal(
    PivotGridField dataField
)
vb
Public Function GetRowGrandTotal(
    dataField As PivotGridField
) As Object

Parameters

NameTypeDescription
dataFieldPivotGridField

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

|

Returns

TypeDescription
Object

The Row Grand Total value calculated for the current column field values, against the specified data field.

|

Remarks

Row Grand Totals are rows that display summary totals calculated against all rows.

For more information on Grand Totals, see Grand Totals.

Note

If you call the GetRowGrandTotal 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

GetColumnGrandTotal

GetGrandTotal(PivotGridField)

PivotCustomDrawCellBaseEventArgs Class

PivotCustomDrawCellBaseEventArgs Members

DevExpress.XtraPivotGrid Namespace