The multiselect.get()
method returns an array of events that are currently selected in the JavaScript Scheduler component.
DayPilot.Scheduler.multiselect.get();
Returns an array with selected events (DayPilot.Event objects).
Scheduler config:
{
allowMultiSelect: true,
eventClickHandling: "Select",
onEventSelected: args => {
const selected = scheduler.multiselect.get();
console.log("Selected events", selected);
}
}