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
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public void SetGrandTotalLocation(
bool isColumn,
GrandTotalLocation location
)
#Parameters
Name | Type | Description |
---|---|---|
is |
Boolean | true to set the location of Grand Total columns; false to set the location of Grand Total rows. |
location | Grand |
A Grand |
#Remarks
To obtain the current location of Grand Totals, use the PivotCustomFieldValueCellsEventArgsBase.GetGrandTotalLocation method.
#Related GitHub Examples
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.