Hi Dan,
I tried to figure out what actually happens on the Event Click. When I use the console.log is see that the following objects are displayed (as in the documentation): args.e, args.div, args.ctrl, args.meta, args.shift etc.
dp.onEventClick = function(args) {
console.log(args);
}
// Output is args.e, args.div, args.ctrl, args.meta, args.shift etc.
I tried to generate a function in the ContextMenu e.g.:
{text:"Edit Event", onclick: function() { dp.onEventClick(this.source); } }
// Output is Object { calendar: {…}, data: {…}, isEvent: true, … } (part of the args.e)
How can I accomplish the same data set as when I click on the event as on the button in the context menu?