The events.remove() method deletes the specified event from the monthly calendar component and updates the view.
DayPilot.Month.events.remove(e[, data]);e (DayPilot.Event) - instance to be removed
data (object) - custom data to be sent to the server with the Notify event (ASP.NET WebForms, ASP.NET MVC, and Java versions only)
Returns a DayPilot.Action object that stores the action details.
The e object has to be acquired using find() or findRecurrent().
On ASP.NET WebForms, ASP.NET MVC, and Java versions, the returned action can be queued or sent to the server immediately, and the optional data object is included with the Notify request.
Remove an event with ID "123":
const e = dp.events.find("123");
dp.events.remove(e);DayPilot.Month.events.findRecurrent()
Client-Side Event API [doc.daypilot.org]
Notify Queue [doc.daypilot.org]