DayPilot.Queue.multiselect.add

The multiselect.add() method selects an event.

Declaration

DayPilot.Queue.multiselect.add(id)
DayPilot.Queue.multiselect.add(e)

Parameters

  • e (DayPilot.Event or raw object) - event to add to the list of selected events

  • id (string | number) - event ID

Notes

Please note that selecting multiple events is not supported yet.

Example

const dp = new DayPilot.Queue("dp", {
  onEventRightClick: (args) => {
    dp.multiselect.add(args.e);
  },
  // ...
});
dp.init();

See Also

DayPilot.Queue.multiselect.clear()

DayPilot.Queue.multiselect.get()

DayPilot.Queue Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript