fires when the user clicks on a link
gantt.attachEvent("onLinkClick", function(id,e){ //any custom logic here });