search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to update event text value after click on a button.

Asked by Vinay Kumar
11 months ago.

I need to update the event text after rendering the event on scheduler. I want to update the text on condition.

Answer posted by Dan Letecky [DayPilot]
11 months ago.

You need to get the DayPilot.Event instance first using events.find(). Then you can update the event using events.update().

const dp = this.scheduler.control;
const e ="1"); = "new text";;

See also:

If you use the [events] attribute you can simply change the event properties in the source array and the Scheduler will be updated automatically. But you should know that using the [events] affects performance:

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.