Gantt drag and drop event within two rows using dhtmlx suit8

Screenshot 2023-12-07 135436

i want to move second task from route 008 (which is ticked as red) to the route 011 after first task(which is ticked as green) using drag and drop in ganttChart.
I need output as route 008 having only one task insted of two task and 011 having two task instead of one task using drag and drop.

Could you please, clarify the component you are trying to use?
Is it a dhx.Grid from the dhx.Suite 8, or is it a dhtmlxGantt?

Hello Ashwini,
Gantt doesn’t have a built-in feature to vertically reorder tasks in the timeline. The dev team will add that feature in the future, but I cannot give you any ETA.

For now, you need to implement a custom solution by using the Gantt API and Javascript.
Here is an example of how it can be implemented:
https://snippet.dhtmlx.com/usfulweq