i want to show link selected on single click, Could you please help?
Hello,@sweeti!
At first ouy need to add class with styles for selected link.
Use gantt.link_class to do this.
https://docs.dhtmlx.com/gantt/api__gantt_link_class_template.html
To change class of selected link you need to get the id of clicked link.
gantt.attachEvent("onLinkClick", function(id,e){ //any custom logic here });
will help you to do this.
https://docs.dhtmlx.com/gantt/api__gantt_onlinkclick_event.html
Try the following code, it should help you