PivotCellBaseEventArgs.GetColumnGrandTotal(Object[], PivotGridField) Method
Returns a Column Grand Total value calculated for the specified row 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 GetColumnGrandTotal(
object[] rowValues,
PivotGridField dataField
)
#Parameters
Name | Type | Description |
---|---|---|
row |
Object[] | An array of row field values for which the required Column Grand Total is calculated. |
data |
Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
Object | The Column Grand Total value calculated for the specified row 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 GetColumnGrandTotal method to obtain specific grand total values.
Cell | C# | Visual Basic |
---|---|---|
Red | e. |
e. |
Green | e. |
e. |
Blue | e. |
e. |