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
3 years 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]
3 years 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).

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