DayPilot.Calendar.contextMenu

The contextMenu property (DayPilot.Menu) sets the calendar event context menu object.

Default Value

null

Example

dp.contextMenu = new DayPilot.Menu({
  items: [
    {text:"Delete", onClick: function(args) { dp.events.remove(args.source); } }
  ]
});