Skip to main content

PivotGridOptionsViewBase.ColumnTotalsLocation Property

Gets or sets the column totals’ location.

Namespace: DevExpress.XtraPivotGrid

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

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


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

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



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



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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ColumnTotalsLocation property.


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