DayPilot.Month.multiselect.remove

Declaration

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

Parameters

  • e (DayPilot.Event) - event to be removed from the list of selected events
  • dontRedraw (boolean) - true if the scheduler should not be automatically updated using multiselect.redraw()

Notes

For bulk operations, use dontRedraw = true and call multiselect.redraw() after all changes have been made.

Example

Unselect an event manually in the custom EventClick handler.

.aspx

EventClickHandling="JavaScript"
EventClickJavaScript="eventClick(e)"

JavaScript

function eventClick(e) {
  dpm.multiselect.remove(e);
}