DayPilot.Scheduler.multiselect.remove

The multiselect.remove() method removes an event from the current Scheduler multi-selection.

Declaration

DayPilot.Scheduler.multiselect.remove(e, dontRedraw)

Parameters

Notes

For bulk operations, set dontRedraw to true and call DayPilot.Scheduler.multiselect.redraw() after all changes have been made.

Example

Unselect an event manually in a custom click handler.

const dp = new DayPilot.Scheduler("dp", {
  onEventClick: (args) => {
    eventClick(args.e, dp);
    args.preventDefault();
  },
  // ...
});
dp.init();
function eventClick(e, dp) {
  dp.multiselect.remove(e);
}

See Also

DayPilot.Scheduler.multiselect.redraw()

Event Selecting [doc.daypilot.org]

DayPilot Scheduler Event Selecting

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript