The eventDeleteCallBack() method executes the server-side delete handler using an AJAX callback.
DayPilot.Calendar.eventDeleteCallBack(e, data)e (DayPilot.Event) - target event object
data (object) - custom data to be sent to the server-side event handler
Use this legacy helper to invoke the matching server-side delete handler from client-side code and optionally include custom data with the callback request.
dp.eventDeleteCallBack(e, data);