Selection of link on single click

i want to show link selected on single click, Could you please help?


At first ouy need to add class with styles for selected link.
Use gantt.link_class to do this.

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.

Try the following code, it should help you