This event is fired when the user finishes link creating using drag and drop. It is fired before the default action (see linkCreateHandling).
DayPilot.Gantt.onLinkCreate(args)
dp.onTaskCreate = function(args) {
dp.message("Task created, type: " + args.type);
};