PivotGridOptionsViewBase.ColumnTotalsLocation Property

Gets or sets the column totals’ location.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v21.1.Core.dll

Declaration

[DefaultValue(PivotTotalsLocation.Far)]
public PivotTotalsLocation ColumnTotalsLocation { get; set; }

Property Value

Type Default Description
PivotTotalsLocation

Far

A PivotTotalsLocation enumeration value which specifies the column totals’ location.

Available values:

Name Description
Near

Column Totals are displayed to the left of the column field values.

PTotalsLoc_Near

Far

Column Totals are displayed to the right of the column field values.

PTotalsLoc_Far

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ColumnTotalsLocation
WinForms Controls PivotGridControl
.OptionsView.ColumnTotalsLocation
ASP.NET Controls and MVC Extensions ASPxPivotGrid
.OptionsView.ColumnTotalsLocation
Reporting XRPivotGrid
.OptionsView.ColumnTotalsLocation
ASP.NET MVC Extensions MVCxPivotGrid
.OptionsView.ColumnTotalsLocation
PivotGridSettings
.OptionsView.ColumnTotalsLocation

Remarks

Use the PivotGridOptionsViewBase.RowTotalsLocation and ColumnTotalsLocation properties to specify the position of Row Totals, Column Totals and Grand Totals. To set both RowTotalsLocation and ColumnTotalsLocation properties simultaneously, the PivotGridOptionsViewBase.SetBothTotalsLocation method can be used.

See Also