Premium support for our pure JavaScript UI components
Hi!
It seems that the update of the existing records in the ResourceTimeRangStore are not tracked by the StateTrackingManager on the project. Only the new records are tracked.
Here. A use case:
https://codepen.io/Zoteb /pen/zYZEEOm
I need to use this feature. Could you please tell me how achieved this.
Thak you for the answer!
Existing records are not marked as tracked by STM when adding a store that's the bug root cause.
As a temporary workaround you need to do it manually:
schedulerPro.project.stm.addStore(
schedulerPro.project.resourceTimeRangeStore
);
schedulerPro.project.resourceTimeRangeStore.forEach(r => r.stm = schedulerPro.project.stm);