DayPilot.Queue.events.remove

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

Declaration

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

Parameters

  • id (number | string) - ID of the event to remove

  • e (DayPilot.Event or raw object) - event to remove

Notes

You can identify the event either by its ID or by passing a DayPilot.Event instance or a raw object from DayPilot.Queue.events.list.

Example

dp.events.remove(1);

See Also

DayPilot.Queue.events.update()

DayPilot.Queue.events.list

DayPilot.Queue Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript