Hi,
I am trying to put a copy feature on the event context menu that will copy multiple events selected at once.
To do this, I need to access the data of all selected events, however, it appears that only the single right clicked event data is available within the Menu context:
this.scheduler.control.contextMenu = new DayPilot.Menu(
{
items: [
{text:"Copy Activity", onClick: function(e) { let eventData = e.source.data } }
]
}
)
Is there any way of accessing data of all selected events in the Menu context?
I'm working with Angular 5 Scheduler.
Thanks