Example of Column Reorder in React Gantt Component


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...


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 into the services.

More information about Column Reorder can be found in this documentation section.