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

Notes

The supplied object replaces the current Queue item with the same ID, letting you refresh the rendered event using new data.

Example

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

See Also

DayPilot.Queue.events.remove()

DayPilot.Queue.events.list

DayPilot.Queue Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript