DayPilot Menu object used for task box context menu.
DayPilot.Gantt.contextMenuTask (DayPilot.Menu class)
null
dp.contextMenuTask = new DayPilot.Menu({items: [ {text:"Show task ID", onclick: function() { alert("Task ID: " + this.source.id()); } }, {text:"Delete task", onclick: function() { dp.tasks.remove(this.source);} } ]});