DataColumnSortEvent
Inherits: Event['DataColumn']
Event emitted when a DataColumn requests sorting.
This event is delivered to DataColumn.on_sort when the user triggers
sorting from a column header. Use column_index and
ascending to update table state (for example, sort_column_index and
sort_ascending on DataTable).
Properties
-
ascending(bool) –Requested sort direction:
Truefor ascending,Falsefor descending. -
column_index(int) –Index of the column that requested sorting.