The multiselect.remove() method removes an event from the current multi-selection in the monthly calendar.
DayPilot.Month.multiselect.remove(e, dontRedraw)e (DayPilot.Event) - selected item to remove from the current multi-selection
dontRedraw (boolean) - set to true if the month view should not be updated automatically using DayPilot.Month.multiselect.redraw()
For bulk operations, set dontRedraw to true and call DayPilot.Month.multiselect.redraw() after all changes have been made.
Unselect an event manually in a custom click handler.
const month = new DayPilot.Month("dp", {
onEventClick: (args) => {
month.multiselect.remove(e);
args.preventDefault();
},
// ...
});
month.init();DayPilot.Month.multiselect.redraw()
Event Selecting [doc.daypilot.org]