Skip to main content

onLinkIdChange

Description

Fires when the id of a link is changed

onLinkIdChange: (id: string | number, new_id: string | number) => void;

Parameters

  • id - (required) string | number - the current link id
  • new_id - (required) string | number - the new link id

Example

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