Skip to main content

PivotCustomFieldValueCellsEventArgsBase.SetGrandTotalLocation(Boolean, GrandTotalLocation) Method

Sets the location of Grand Total columns or rows to the specified value.

Namespace: DevExpress.XtraPivotGrid.Data

Assembly: DevExpress.PivotGrid.v22.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design


public void SetGrandTotalLocation(
    bool isColumn,
    GrandTotalLocation location


Name Type Description
isColumn Boolean

true to set the location of Grand Total columns; false to set the location of Grand Total rows.

location GrandTotalLocation

A GrandTotalLocation enumeration member that specifies the location of Grand Totals.


To obtain the current location of Grand Totals, use the PivotCustomFieldValueCellsEventArgsBase.GetGrandTotalLocation method.

See Also