const scheduler = new Scheduler({
appendTo : 'container',
startDate: new Date(2026, 0, 1),
endDate : new Date(2026, 0, 10),
resources : [
{ id : 1, name : 'Resource 1' }
],
events : [
{
id : 1,
resourceId : 1,
name : 'Event A',
startDate : '2026-01-02',
endDate : '2026-01-04'
}
]
});
// update after render
const event = scheduler.eventStore.getById(1);
// different update attempts
event.name = 'Updated name';
// event.startDate = new Date(2026, 0, 3);
// store shows updated data but UI does not always update
What is the correct way to update existing event records so the Scheduler UI reliably reflects changes made after render? Is direct mutation supported, or must all updates go through a specific API or transaction to trigger re-rendering?
Geometry Dash