GridSortInfoCollection.GroupByColumn(String) Method

Groups data by the values of the specified column.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public void GroupByColumn(
    string fieldName
)
Public Sub GroupByColumn(
    fieldName As String
)

Parameters

Name Type Description
fieldName String

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

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 in Code.

See Also