I want to make the make order branch available and I can achieve that by:
gantt.config.order_branch = true';
It works as it should, the tricky part for me is that I want to make this available just for tasks (not type project).
This means that tasks can be dragged into any project but projects cannot be dragged into different projects.
There is any way to achieve that?
You can use the
onRowDragStart event handler to cancel the vertical reorder drag:
There, you can check if a task has children:
Here is an example of how it can be implemented:
Or you can check the task type to allow dragging regular tasks with subtasks: