Premium support for our pure JavaScript UI components


Post by dphilip »

Is there a way to not include(ignore) some of the store edits from the undo/redo?
I tried https://bryntum.com/products/schedulerpro/docs/api/Core/data/stm/StateTrackingManager#function-rejectTransaction but this causes the change also to be lost.
I want the change to exist in the store but be ignored in the undo/redo.


Post by marcio »

Hey dphilip,

Have you tried to disable the STM for the edits that you don't want to include and then enable it after the edit is finished??

https://bryntum.com/products/schedulerpro/docs/api/Core/data/stm/StateTrackingManager#function-disable
https://bryntum.com/products/schedulerpro/docs/api/Core/data/stm/StateTrackingManager#function-enable

Best regards,
Márcio


Post Reply