OK, I have the script running and incorporated within my scheduler. Much trial and error!
I now have another issue. My Scheduler draws its information from an access database. The scheduler then writes events changes back to the access database (both via a Mysql DB)
The undo function works for any events I create within the scheduler however any events populated from the access database seem to be outside of the undo/redo functionality. When I move or re-size these events the undo/redo function has no record of the action.
Any ideas?
Comment posted by Dan Letecky [DayPilot] 3 years ago.
If you want the undo/redo to work for events stored in the database, you will need to implement it on the server side. This would require maintaining a log of performed changes, just like in the JavaScript version. When implementing this, you can get inspiration from the UndoService class from the tutorial:
Just note that implementing this for multiple users would make it more complex.
Comment posted by Steve Lee 3 years ago.
Hi Dan
Thanks for the answer, much appreciated. At least I know what needs doing now. Unfortunately this is beyond my skills and so will have to remain aspirational until I learn some more!
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.