Skip to main content

GridView.CollapseGroupLevel(Int32) Method

Collapses group rows corresponding to the specified group level.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public void CollapseGroupLevel(
    int groupLevel
)

Parameters

Name Type Description
groupLevel Int32

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

Remarks

The CollapseGroupLevel method collapses group rows corresponding to the specified group level, without affecting the expansion states of rows at other group levels.

The CollapseGroupLevel method is not in effect in Server Mode.

See Also