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

TcxPivotGridFieldGroup.FullCollapse Method

In This Article

Collapses all the fields within the current group.

#Declaration

Delphi
procedure FullCollapse;

#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.

A field’s GroupExpanded property controls the expansion state of the field within the group.

To collapse all the fields within a group, call its FullCollapse method which sequentially sets the GroupExpanded property to False for all the fields within the group. As a result, only the data that correspond to the first visible field within the Fields zero-based indexed collection will be displayed. To display the data for all the visible fields within the group, call the FullExpand method.

See Also