Skip to main content

TcxPivotGridFieldGroup.FullCollapse Method

Collapses all the fields within the current group.

Declaration

procedure FullCollapse;

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.

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