Column reordering in JavaScript Gantt control
The column reordering can be done by dragging a column header from one index to another index within the TreeGrid. To enable reordering, set the allowReordering property to true.
To use the column reordering feature, inject the Reorder module to the Gantt control.
You can disable the reordering of a particular column by setting the columns.allowReordering property to
false.
Reorder multiple columns
Multiple columns can be reordered at a time by using the reorderColumns method.
Reorder Events
During the reorder action, the gantt component triggers the below three events.
- The columnDragStart event triggers when column header element drag (move) starts.
- The columnDrag event triggers when column header element is dragged (moved) continuously.
- The columnDrop event triggers when a column header element is dropped on the target column.