ColumnClick Event

       

Occurs when a ColumnHeader object in a ListView control is clicked. Only available in Report view.

Syntax

Private Sub object_ColumnClick(ByVal columnheader As ColumnHeader)

The ColumnClick event syntax has these parts:

Part Description
object An object expression that evaluates to a ListView control.
columnheader A reference to the ColumnHeader object that was clicked.

Remarks

The Sorted, SortKey, and SortOrder properties are commonly used in code to sort the ListItem objects in the clicked column.