Skip to main content

TcxPivotGridField.GroupExpanded Property

Specifies the expansion state of the field in a group.

Declaration

property GroupExpanded: Boolean read; write; default True;

Property Value

Type Default
Boolean True

Remarks

End-users can collapse and expand grouped fields by clicking the expand buttons. Collapsing a grouped field hides columns or rows that correspond to all the grouped child fields thus reducing the amount of data displayed. Expanding a grouped field reverses the effect.

To expand a grouped field and all its child fields programmatically, set the field’s GroupExpanded property to True. Otherwise, the field will be collapsed.

Use the Group and GroupIndex properties to determine the group in which the current field is contained (if any).

To collapse or expand all the fields within a group, call the FullCollapse and FullExpand methods, respectively.

You can set the field’s Options.AlwaysExpanded property to True to expand all the field’s grouping values and keep them expanded, regardless of end-user actions and layout changes.

The default value of the GroupExpanded property is True.

See Also