A newer version of this page is available. Switch to the current version.

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.v19.1.Core.dll


public void SetGrandTotalLocation(
    bool isColumn,
    GrandTotalLocation location
Public Sub SetGrandTotalLocation(
    isColumn As Boolean,
    location As GrandTotalLocation


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