Example of Column Reorder in Javascript Gantt Chart Control

/
/
Reorder

This sample demonstrates the reordering feature of the Gantt columns. Select column name and index from properties panel to reorder the columns. You can also reorder columns by simply dragging and dropping them to the desired position.

More Details...

Column
Column Position
Description

Reordering can be enabled by setting the allowReordering property to true. Reordering can be done by dragging and dropping the column header from one index to another index within the TreeGrid part. The location in which the column to be placed will be indicated by two arrows symbols. In this demo, you can either reorder columns by dragging and dropping or by selecting column name and column index from dropdown to reorder the columns. Injecting Module: Gantt features are segregated into individual feature-wise modules. To use reordering feature, we need to inject Reorder module using Gantt.Inject(Reorder) method. More information about column reordering can be found in this documentation section.