GridView.CollapseGroupLevel(Int32, Boolean) Method

Collapses group rows corresponding to the specified group level. Allows you to collapse group rows recursively.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public void CollapseGroupLevel(
    int groupLevel,
    bool recursive
)

Parameters

Name Type Description
groupLevel Int32

An integer value that is the group level of group rows to be collapsed.

recursive Boolean

true if child group rows of target group rows must be collapsed as well; otherwise, false.

Remarks

The CollapseGroupLevel method does not collapse upper-level group rows.

The CollapseGroupLevel method is not in effect in Server Mode.

See Also