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.v24.2.Core.dll

Declaration

public void SetGrandTotalLocation(
    bool isColumn,
    GrandTotalLocation location
)

Parameters

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.

Remarks

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SetGrandTotalLocation(Boolean, GrandTotalLocation) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also