I want to change the default behavior of linking from click+hold & drag
To:
Click link drag icon to start then click another link icon to end
I want to change the default behavior of linking from click+hold & drag
To:
Click link drag icon to start then click another link icon to end
There is no built-in option for this, but you can implement it quite easily using a public API. You can disable the default link creation using this config:
gantt.config.drag_links = false;
and then track click events on tasks and create links from code.
I created a snippet to show how it can be:
snippet.dhtmlx.com/7abda1643
If you want to customize it or implement it in another way, please use these links as a reference:
docs.dhtmlx.com/gantt/api__gant … event.html
docs.dhtmlx.com/gantt/api__gant … onfig.html
docs.dhtmlx.com/gantt/desktop__ … dency.html
docs.dhtmlx.com/gantt/desktop__ … lates.html
This is great thanks for your help