Back to Devexpress

TcxPivotGridTotalsLocation Enum

vcl-cxcustompivotgrid-4fbd914a.md

latest2.5 KB
Original Source

TcxPivotGridTotalsLocation Enum

Enumerates available locations of subtotal and grand total columns and rows within the data area.

Declaration

delphi
TcxPivotGridTotalsLocation = (
    tlFar,
    tlNear,
    tlCustom
);

Members

Name
tlFar
tlNear
tlCustom

Remarks

To specify locations of subtotal and grand total columns and rows, use the pivot grid’s OptionsView.TotalsLocation property. This property accepts TcxPivotGridTotalsLocation enumeration values.

The following table contains descriptions of the enumeration values:

|

Value

|

Meaning

| | --- | --- | |

tlFar

|

For subtotal and grand total columns, indicates that the columns are shown on the right side of the data area.

For subtotal and grand total rows, indicates that the rows are shown on the bottom side of the data area.

| |

tlNear

|

For subtotal and grand total columns, indicates that the columns are shown on the left side of the data area.

For subtotal and grand total rows, indicates that the rows are shown on the top side of the data area.

| |

tlCustom

|

You cannot assign this value to the pivot grid’s OptionsView.TotalsLocation property. tvCustom is automatically assigned to the OptionsView.TotalsLocation property if OptionsView.ColumnTotalsLocation and OptionsView.RowTotalsLocation property values are mixed.

|

See Also

TcxPivotGridOptionsView.ColumnTotalsLocation

TcxPivotGridOptionsView.RowTotalsLocation

TcxPivotGridOptionsView.TotalsLocation

cxCustomPivotGrid Unit