You can delete a link using a link context menu.
JavaScript
gantt.contextMenuLink = new DayPilot.Menu({items: [
{text:"Show link ID", onclick: function() { alert("Link ID: " + this.source.data.id);} },
{text:"Delete link", onclick: function() { dp.links.remove(this.source);} }
]});Availability
Availability of this feature in DayPilot editions:
| Lite | Pro | |
|---|---|---|
| DayPilot for JavaScript | ||
| DayPilot for ASP.NET WebForms | ||
| DayPilot for ASP.NET MVC | ||
| DayPilot for Java |
DayPilot