PivotCellEventArgsBase<TField, TData, TCustomTotal>.GetColumnGrandTotal(Object[], TField) Method
In This Article
Returns a Column Grand Total value calculated for the specified row field values, against the specified data field.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Object[] | An array of row field values for which the required Column Grand Total is calculated. |
data |
TField | A T object that specifies the data field, against which the required Column Grand Total is calculated. |
#Returns
Type | Description |
---|---|
Object | A Column Grand Total value. |
#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 |
---|---|---|
Green | e. |
e. |
Blue | e. |
e. |
Red | e. |
e. |
See Also