javascript-kanban-card-context-menu.png

You can assign a context menu to Kanban board cards using contextMenuCards property.

JavaScript

Context menu is available since version 2018.1.3192.

Example:

var dp = new DayPilot.Kanban("dp");
// ...
dp.contextMenuCard = new DayPilot.Menu({
    items: [
        {text: "Edit...", onClick: function(args) { console.log("Editing..." + args.source.id()); } },
        {text: "-"},
        {text: "Delete", onClick: function(args) { dp.cards.remove(args.source); } }
    ]
});
dp.init();