Skip to main content
A newer version of this page is available. .

GridControl.GroupBy(GridColumnBase) Method

Groups data by the values of the specified column.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.2.dll

Declaration

public void GroupBy(
    GridColumnBase column
)

Parameters

Name Type Description
column GridColumnBase

A GridColumnBase descendant that specifies the 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