Skip to main content

onAfterLinkAdd

Description

Fires after a new link is added to the Gantt chart

onAfterLinkAdd: (id: string | number, link: Link) => void;

Parameters

  • id - (required) string | number - the link id
  • link - (required) Link - the link object

Example

gantt.attachEvent("onAfterLinkAdd", function(id,link){
//any custom logic here
});
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.