constants SortOnClickEnum
Specifies the action that control takes when user clicks the column's header. The SortOnClick Property specifies whether the control sorts a column when its caption is clicked.

NameValueDescription
exNoSort0 The column is not sorted when the user clicks the column's header.
exDefaultSort-1 The control sorts the column when user clicks the column's header.
exUserSort1 The control displays the sort icons, but it doesn't sort the column. The user is responsible with listing the items as being sorted. Use the ItemByPosition property to access the sorted column in their order.