ColumnView.EndSorting Event
Fires after the sorting operation has been completed.
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 EndSorting
#Event Data
The EndSorting event's data class is EventArgs.
#Remarks
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.
Note
The ColumnColumn
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.