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

TcxDataControllerGroups.ChangeExpanding(Integer,Boolean,Boolean) Method

Expands or collapses a data group.

#Declaration

Delphi
procedure ChangeExpanding(ARowIndex: Integer; AExpanded: Boolean; ARecursive: Boolean);

#Parameters

Name Type
ARowIndex Integer
AExpanded Boolean
ARecursive Boolean

#Remarks

The ChangeExpanding method expands or collapses a group based upon the value of the AExpanded parameter. If AExpanded is True, a group is expanded. Otherwise the group is collapsed. To identify a data group, you should pass the index of a group row via the ARowIndex parameter. Specifying the index of a data row will do nothing.

The ARecursive parameter allows you to expand or collapse nested groups recursively. Set this parameter to True to expand/collapse all the nested groups.

To expand and collapse all data groups use the FullExpand and FullCollapse methods respectively.

See Also