Our state of the art Gantt chart


Post by Sefa »

hello, after any changes, if the change is incorrect, I need to run undo the change. because after it fails it does not refresh itself and even if the correct update is available it will not run. is there any way to do this?

 syncfail: function (e) {//I want to use it here.}

Post by fabio.mazza »

Hi Sefa,

There is no method to revert changes on record or store yet. There is only meta data on record.meta.modified that show the initial value. I have created a feature request for it: https://github.com/bryntum/support/issues/1874

Thank's for your suggestion.

Best regards,
Fabio


Post by fabio.mazza »

Sefa, you can also try the method https://www.bryntum.com/docs/gantt/#Core/data/stm/StateTrackingManager#function-undo like gantt.project.stm.undo(). You can try it online using buttons undo/redo on toolbar in our advanced demo.

Best regards,
Fabio


Post by Sefa »

hi fabio sorry i opened the subject to the wrong place again i am using ext js i opened the subject to the right area again, is it the same?

viewtopic.php?f=49&t=15882


Post by mats »

@sefa please start a new thread in the Ext JS forums and we'll help you there


Post Reply