I have a requirement to use Gantt chart for an application I’m working on. Before purchasing a commercial license (because we need PDF support without watermarks) I have one User Story that it seems not be possible to implement with the current version.
US: The product owner wants to drag vertically the tasks from the gantt chart area instead of the grid area.
Apparently (from the samples), vertical drag and drop is enabled only for a grid area whereas horizontal drag and drop is possible on the gantt chart area.
Is it possible to have vertical drag and drop on the gantt chart area? Or do I need to implement this on top of dhtmlxGantt?
If you want to drag rows clicking on tasks, here is another example, although it is more complicated to use. You can always drag tasks that are not selected. If you click on a task first time, the task will be selected, but you still can drag it. But if you click on it second time, you won’t be able to drag it anymore until you select another task: snippet.dhtmlx.com/c8efa62b5 files.dhtmlx.com/30d/9416bd142f … -30-32.mkv
In both examples we just add a grid column with an invisible row. You can always change the opacity to see how it really works.
Of course, these are just examples, you can add or use something else and implement the feature the way you think it should work.
Both examples activate the event to reorder tasks via the grid. That’s why they don’t work when you disable the grid.