Fires after the sorting operation has been completed.
[DXCategory("Sorting")] public event EventHandler EndSorting
<DXCategory("Sorting")> Public Event EndSorting As EventHandler
The EndSorting event's data class is EventArgs.
When you sort data by a specific column, the grid does the following:
- generates the ColumnView.StartSorting event;
- sorts data;
- 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.