DayPilot.Scheduler.multiselect.get

The multiselect.get() method returns an array of events that are currently selected in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.multiselect.get();

Return Value

Returns an array with selected events (DayPilot.Event objects).

Example

Scheduler config:

{
  allowMultiSelect: true,
  eventClickHandling: "Select",
  onEventSelected: args => {
    const selected = scheduler.multiselect.get();
    console.log("Selected events", selected);
  }
}