PivotCellBaseEventArgs.GetRowGrandTotal(Object[], PivotGridField) Method
Returns a Row Grand Total value calculated for the specified column field values, against the specified data field.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
public object GetRowGrandTotal(
object[] columnValues,
PivotGridField dataField
)
#Parameters
Name | Type | Description |
---|---|---|
column |
Object[] | An array of column field values for which the required Row Grand Total is calculated. |
data |
Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
Object | The Row Grand Total value calculated for the specified column field values, against the specified data field. |
#Remarks
Consider the pivot grid displayed in the image below.
The following table illustrates how to use the GetRowGrandTotal method to obtain specific grand total values.
Cell | C# | Visual Basic |
---|---|---|
Red | e. |
e. |
Green | e. |
e. |
Blue | e. |
e. |