Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ColumnView.StartGrouping Event

Fires before a grouping operation is started.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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