Skip to main content

onLinkClick

Description

Fires when the user clicks on a link

onLinkClick: (id: string | number, e?: Event) => void;

Parameters

  • id - (required) string | number - the id of the clicked link

Example

gantt.attachEvent("onLinkClick", function(id,e){
//any custom logic here
});