The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridControl.GroupBy(String) Method

Groups data in the grid by the specified column.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

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

Parameters

Name Type Description
fieldName String

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

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

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