DayPilot.Scheduler.multiselect.remove

Declaration

DayPilot.Scheduler.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) {
  dps.multiselect.remove(e);
}

See Also

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java