Skip to main content

ColumnView.StartGrouping Event

Fires before a grouping operation is started.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DXCategory("Sorting")]
public event EventHandler StartGrouping

Event Data

The StartGrouping event's data class is EventArgs.

Remarks

When you group data by a specific column, the View does the following:

  1. raises the StartGrouping event;
  2. performs data grouping;
  3. raises the ColumnView.EndGrouping event.

Note that data grouping requires sorting to be performed. Thus, the ColumnView.StartSorting and ColumnView.EndSorting events are also raised before and after grouping. Note that you can use the ColumnView.BeginSort and ColumnView.EndSort methods to suppress these events when performing sequential sorting and grouping operations.

See the Grouping document for more information.

See Also