GridControl.CollapseGroupRow(Int32) Method
In This Article
Collapses the specified group row.
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
row |
Int32 | An integer value that specifies the group row handle. |
#Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the Grid
Before a group row is collapsed, the GridControl.GroupRowCollapsing event is raised, allowing you to cancel the action. After a group row has been collapsed, the GridControl.GroupRowCollapsed event is raised.
To collapse all group rows, use the GridControl.CollapseAllGroups method.
To expand group rows, use the GridControl.ExpandAllGroups or GridControl.ExpandGroupRow method.
See Also