GridView.CollapseGroupLevel(Int32, Boolean) Method
In This Article
Collapses group rows corresponding to the specified group level. Allows you to collapse group rows recursively.
Namespace: DevExpress.XtraGrid.Views.Grid
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
group |
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