DayPilot.Queue.events.remove

The events.remove() method removes the specified event from the Queue component and from the data source (events.list).

Declaration

DayPilot.Queue.events.remove(id);
DayPilot.Queue.events.remove(e);

Parameters

  • id (number | string) - ID of the event to be removed
  • e (DayPilot.Event or raw object) - the event to be removed

Example

dps.events.remove(1);