The multiselect.remove() method removes an event from the current Scheduler multi-selection.
DayPilot.Scheduler.multiselect.remove(e, dontRedraw)e (DayPilot.Event) - selected item to remove from the list
dontRedraw (boolean) - set to true if the scheduler should not be automatically updated using DayPilot.Scheduler.multiselect.redraw()
For bulk operations, set dontRedraw to true and call DayPilot.Scheduler.multiselect.redraw() after all changes have been made.
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);
}DayPilot.Scheduler.multiselect.redraw()
Event Selecting [doc.daypilot.org]