ComponentOne VSFlexGrid 8.0
AfterSort Event

Fired after a column is sorted by a click on the ExplorerBar.

Syntax

Private Sub VSFlexGrid_AfterSort( ByVal Col As Long, Order As Integer)

Remarks

This event is only fired if the sorting was caused by a click on the ExplorerBar. It is not fired after sorting with the Sort property.

This event is useful if you want to update user interface elements to reflect the new sorting. Note that the ExplorerBar property has new settings that cause the sorting order to be displayed automatically as arrow icons on the header rows.

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

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback