A newer version of this page is available. Switch to the current version.

ColumnView.EndSorting Event

Fires after the sorting operation has been completed.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll


public event EventHandler EndSorting
Public Event EndSorting As EventHandler

Event Data

The EndSorting event's data class is EventArgs.


When you sort data by a specific column, the grid does the following:

  1. generates the ColumnView.StartSorting event;
  2. sorts data;
  3. generates the EndSorting event.

Note that when data is grouped, it is sorted as well. So the ColumnView.StartSorting and EndSorting events are also raised before and after grouping.


The ColumnView.StartSorting and ColumnView.EndSorting events are not raised when changing data while the View is already sorted. In this case, the modified row may move to another position due to the current sort rules without firing these events.

See the Sorting in Code document for more information.

See Also