The events.remove() method deletes the specified event from the monthly calendar component and updates the view.

Declaration[, data]);


  • e (DayPilot.Event) - event 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)

The e object has to be acquired using find() or findRecurrent() methods.

Return Value

DayPilot.Action object that stores the action details.


Remove an event with id '123' and save the action in the queue.

var e ='123');;

Remove an event with id '123' and send the action to the server immediately.

var e ='123');;