Phase: "start", "end" or "cancel" (Escape: the old order is back).
Model index of the column when the drag started.
Model index of the column now ("start" and "cancel": fromIndex; "end": also when it did not change).
The column definition of the dragged column.
The property of the dragged column (columnDef.property).
The properties of all columns in the order now (after the move for "end").
Optional originalEvent: EventThe browser event behind it (mouse up; undefined for TableApi.cancelColumnDrag).
Readonly columnThe column definition of the dragged column.
Readonly columnThe properties of all columns in the order now (after the move for "end").
Readonly fromModel index of the column when the drag started.
Optional Readonly originalThe browser event behind it (mouse up; undefined for TableApi.cancelColumnDrag).
Readonly propertyThe property of the dragged column (columnDef.property).
Readonly toModel index of the column now ("start" and "cancel": fromIndex; "end": also when it did not change).
Readonly typePhase: "start", "end" or "cancel" (Escape: the old order is back).
true if the column has another index now (toIndex !== fromIndex).
The user moves a column by dragging its header (EventListenerIf.onColumnMoveStart, EventListenerIf.onColumnMoveEnd).
One start and one end per drag – no event for the steps in between (the table moves the column while the mouse moves). Only user actions report it, not TableApi.applyState or
tableModel.changeColumnOrder(). The end comes after the table applied the order: in the handlertableApi.getTableModel().getColumnDefs()and TableApi.getState already have it.Example
Since
1.1.110