
You can enhance the functionality of links in the JavaScript Scheduler by adding a context menu with additional actions. A common use case is providing an option to delete a link.
To define a link menu, use the contextMenuLink property.
Example
Scheduler config:
{
contextMenuLink: new DayPilot.Menu({
items: [
{
text: "Delete".
onClick: args => dp.links.remove(args.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