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).