Skip to main content

GridControl.GroupBy(String) Method

Groups data by the values of the specified column.

Namespace: DevExpress.UI.Xaml.Grid

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

NuGet Package: DevExpress.Uwp.Controls

Declaration

public void GroupBy(
    string fieldName
)

Parameters

Name Type Description
fieldName String

A String value that specifies the column’s field name.

Remarks

The Grid Control supports data grouping by an unlimited number of columns. The GroupBy method groups data by the values of the specified column.

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.

See Also