I need to update the event text after rendering the event on scheduler. I want to update the text on condition.
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 = dp.events.find("1");
e.data.text = "new text";
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: