DayPilot.Queue.multiselect.add

The multiselect.add() method selects an event.

Please note that selecting multiple events is not supported yet.

Declaration

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

Parameters

  • e (DayPilot.Event or raw object) - event to be added to the list of selected events
  • id (string | number) - event ID

Example

JavaScript

dp.onEventRightClick = args => {
  dp.multiselect.add(args.e);
};