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

Write back from rendered component inside event to its data

Asked by Anonymous
1 month ago.

Hi,
According to this tutorial: (https://code.daypilot.org/22738/angular-scheduler-rendering-angular-components-inside-events), how can I write the changes back to the event object?

Best regards

Answer posted by Dan Letecky [DayPilot]
1 month ago.

You need to change the event data object and call dp.events.update(data); to update the view.

Depending on how much you want to encapsulate the component, you can either pass DayPilot.Scheduler instance to the component or expose the changes through a new event (@Output).

New Reply
This reply is
Your name (optional):