AfterSort Event

Fired after a column is sorted by a double click on the column header.


Public Event AfterSort As AfterSortEventHandler

Applies To

Grid Object


The following parameters are available:

Parameter Description
Col Column on which sort occurred.
Order Sorting orders for specific column.


This event is only fired if the sorting was caused by a double click on the column header. It is not fired after sorting with the Sort method.

This event is useful if you want to update user interface elements to reflect the new sorting.

To prevent certain columns from being sorted, or to alter their default sorting order, use the BeforeSort event instead.

See Also

AllowUserSort Property , BeforeSort Event