GridControl.GroupBy(GridColumnBase, ColumnSortOrder) Method
In This Article
Groups data by the values of the specified column with the specified sort order.
Namespace: DevExpress.UI.Xaml.Grid
Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
#Declaration
public void GroupBy(
GridColumnBase column,
ColumnSortOrder sortedOrder
)
#Parameters
Name | Type | Description |
---|---|---|
column | Grid |
A Grid |
sorted |
Column |
A Column |
#Remarks
Data rows are always sorted against the grouping columns. If data is grouped against a column which isn’t sorted, the grid automatically applies sorting in ascending order to this column.
To learn more, see Grouping Overview.
See Also