GridControl.GroupBy(ColumnBase, ColumnSortOrder) Method
In This Article
Groups data by the values of the specified column with the specified sort order.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
public void GroupBy(
ColumnBase column,
ColumnSortOrder sortedOrder
)
#Parameters
Name | Type | Description |
---|---|---|
column | Column |
The grid column. |
sorted |
Column |
The column’s sort order. |
#Remarks
To ungroup data in code, use the GridControl.UngroupBy method.
Refer to the following help topic for more information: Group Data.
See Also