The events.remove() method removes the specified event from the JavaScript Calendar UI and from the data source (events.list).
DayPilot.Calendar.events.remove(e[, data])e (DayPilot.Event) - DayPilot.Event object to be removed
data (object) - custom data to be sent to the server with the Notify event (ASP.NET WebForms, ASP.NET MVC, Java)
Returns a DayPilot.Action object that stores the action details.
The e object has to be acquired using find() or findRecurrent().
When you specify data, it is sent to the server with the Notify event in ASP.NET WebForms, ASP.NET MVC, and Java editions.
Remove an event with an id of "123":
const e = calendar.events.find("123");
calendar.events.remove(e);Event Deleting [doc.daypilot.org]
Client-Side Event API [doc.daypilot.org]
Notify Queue [doc.daypilot.org]