Skip to main content

TcxPivotGridFieldGroup Class

Represents a group of fields.

Declaration

TcxPivotGridFieldGroup = class(
    TCollectionItem
)

Remarks

The ExpressPivotGrid allows you to combine its fields into groups (also called field groups). A group stores its fields within its Fields collection. A field can belong to a single group (if any) at a time. To add a field to a group, either set the field’s Group property, or use the group’s Add or AddFields methods.

To ungroup the fields altogether, call the group’s Clear method. To ungroup an individual field, use the group’s Remove method or either set the field’s Group property to nil or assign a value of -1 to its GroupIndex property.

All the grouped fields can be collapsed and expanded by calling a group’s FullCollapse and FullExpand methods.

Individual field groups are represented by TcxPivotGridFieldGroup objects and are stored in the pivot grid’s Groups collection. At design time, the collection can be modified using a standard editor dialog which can be invoked by clicking the ellipsis button in the Object Inspector.

Inheritance

TObject
TPersistent
TCollectionItem
TcxPivotGridFieldGroup
See Also