DayPilot.Queue.events.update

The events.update() method replaces the event with the specified ID with the supplied object and updates the Queue component.

Declaration

DayPilot.Queue.events.update(e);

Parameters

Example

dp.events.update({
  id: 3,
  text: "Task 3",
  duration: DayPilot.Duration.ofDays(5)
});