Page 1 of 1

[ANGULAR] How to Manually Clear Undo last action and Redo last undone action

Posted: Mon Jul 04, 2022 9:54 am
by shimnx

When I click the save button,I will reload gantt data,but after reloaded,Undo last action and Redo last undone action haven't clear.I need the two button clear


Re: [ANGULAR] How to Manually Clear Undo last action and Redo last undone action

Posted: Mon Jul 04, 2022 11:58 am
by alex.l

We need more info to help you with that. At least full scheduler and project configurations.

Undo last action and Redo last undone action haven't clear

Could you re-phrase please?

Also please try to reproduce in our examples and provide steps to reproduce.
If not possible to reproduce in our examples, please attach a runnable test case.


Re: [ANGULAR] How to Manually Clear Undo last action and Redo last undone action

Posted: Tue Jul 05, 2022 2:55 am
by shimnx

I want to manually reset the two buttons, when I do some operations on the Gantt diagram, the two buttons will become enabled, and there will be a small red circle in the upper right corner, my problem is that I want to manually reset the two buttons, disable them and make the red circle in the upper right corner disappear


Re: [ANGULAR] How to Manually Clear Undo last action and Redo last undone action

Posted: Tue Jul 05, 2022 3:00 am
by shimnx

I found resetUndoRedoQueuesAfterLoad method on the website,thank you