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