GridControl.GroupBy(String) Method

Groups data in the grid by the specified column.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Syntax

public void GroupBy(string fieldName)

Parameters

Type Name Description
String fieldName

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

Another way to group data by a column is to set this column's GridColumn.IsGrouped property to true. End-users can group data by a column using a menu that appears when they touch and hold this column.

To cancel grouping, use the GridControl.ClearGrouping method.

See Also