The events.remove() method removes the specified event from the calendar UI and from the data source (events.list).
DayPilot.Calendar.events.remove(e[, data]);
The e object has to be acquired using find() or findRecurrent() methods.
DayPilot.Action object that stores the action details.
Remove an event with id '123' and save the action in the queue.
var e = dps.events.find('123'); dps.events.remove(e).queue();
Remove an event with id '123' and send the action to the server immediately.
var e = dps.events.find('123'); dps.events.remove(e).notify();