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 removee(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()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot