DayPilot.Month.multiselect.remove

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

Declaration

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

Parameters

Notes

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

Example

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();

See Also

DayPilot.Month.multiselect.redraw()

Event Selecting [doc.daypilot.org]

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript