DayPilot.Gantt.onLinkCreated

Declaration

onLinkCreated(args)

This event is fired when the user finishes link creating using drag and drop. It is fired after the default action (see linkCreateHandling).

Parameters

  • args.source (DayPilot.Task) - the source task
  • args.target (DayPilot.Task) - the target task
  • args.type (string) - link type ("StartToStart", "StartToFinish", "FinishToStart", "FinishToFinish')

Example

dp.onTaskCreated = function(args) {
  dp.message("Task created, type: " + args.type);
};

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java