GridControl.GroupBy(GridColumn, ColumnSortOrder, Boolean) Method
In This Article
Groups data by the values of the specified column with the specified sort order.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
#Declaration
public void GroupBy(
GridColumn column,
ColumnSortOrder sortedOrder,
bool mergeWithPreviousGroup = false
)
#Parameters
Name | Type | Description |
---|---|---|
column | Grid |
A Grid |
sorted |
Column |
A Column |
#Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
merge |
Boolean | False | A boolean value that specifies whether the current grouping should be merged with a previous grouping (according to the group index). |
#Remarks
The GridControl supports data grouping by an unlimited number of columns. The GroupBy method groups data by the values of the specified column.
To learn more, see Grouping.
See Also