Skip to main content

GridControl.GroupBy(ColumnBase, ColumnSortOrder) Method

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 ColumnBase

The grid column.

sortedOrder ColumnSortOrder

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