Skip to main content

GridControl.GroupBy(GridColumn) 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(
    GridColumn column
)

Parameters

Name Type Description
column GridColumn

A GridColumn object or descendant specifying the grid column by whose values data is grouped.

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