Skip to main content

TcxPivotGridField.Area Property

Specifies the area in which the field is displayed.

Declaration

property Area: TcxPivotGridFieldArea read; write; default faFilter;

Property Value

Type Default
TcxPivotGridFieldArea faFilter

Remarks

A field can be positioned in one of the available areas: the column header area, row header area, filter header area, data header area. The Area property specifies the area in which the current field’s header is displayed. Dragging a field from one area to another automatically changes the Area property’s value and vice versa.

To specify the field’s position amongst the other fields within the same area, use the AreaIndex property.

Multiple fields can be combined into a group via the pivot grid’s Groups property. These fields cannot be separated and are always moved together. To place a group into a specific area or into a new position within the current area, use either the group’s Area and AreaIndex properties or the Area and AreaIndex properties of the first field in the group. Modifying the Area and AreaIndex properties of the second and subsequent fields in the group is ignored. The values of these properties are the same as the values of the group’s Area and AreaIndex properties.

The default value of the Area property is faRow.

See Also