Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxPivotGridField.GroupExpanded Property

Specifies the expansion state of the field in a group.

#Declaration

Delphi
property GroupExpanded: Boolean read; write; default True;

#Property Value

Type Default
Boolean True

#Remarks

Users can collapse and expand grouped fields by clicking 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