We’ve stumbled upon 20-30 sec browser page freezing in Bryntum Scheduler PRO 1.0.2
We upload the data (about 1000 events): currentEventStore.data = data using beginBatch and endBatch
If we do
[code]currentEventStore.beginBatch();
currentEventStore.data = data;
currentEventStore.endBatch();[/code]
we still get ‘update’ event for each record
If we don't use endBatch()
[code]currentEventStore.beginBatch();
currentEventStore.data = data;[/code]
Everything works fine, we don't get ‘update’ event for each record, but we have to close batch
Using setTimeout doesn't help
[code]currentEventStore.beginBatch();
currentEventStore.data = data`;
setTimeout(() => {
currentEventStore.endBatch();
}, 0)[/code]
Apparently there are async operations during the adding records to currentEventStore, so endBatch called earlier
currentEventStore.add(data, true)
silent doesn't work as well