The links.add() method adds a new link to the JavaScript Scheduler component and updates the view.
DayPilot.Scheduler.links.add(link);
link (DayPilot.Link) - a new link (data object) to be added