The events.update() method updates and redraws the event in the JavaScript Scheduler component.

In the DayPilot Pro versions with an integrated server-side part (ASP.NET MVC, ASP.NET WebForms, Java) you can also send the change to the server side using the returned object.

Declaration[, data]);


  • e (DayPilot.Event) - event to be updated

  • data (object) - custom data to be sent to the server with the Notify event (optional; only applies to ASP.NET WebForms, ASP.NET MVC and Java versions)

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

Return Value

DayPilot.Action object that stores the action details.


Change the text of an event and redraw the event.

const e ='123');
e.text('New Event Name');  // update the event text;

You can also change the properties of the raw data object directly:

const e ='123'); = 'New Event Name';  // update the event text;

See Also