Delete and cancel
How can I delete a parent item with 2 activities inside and at the same time using RecordAction for the undo? Currently, if I use undo, it seems that it is necessary to erase each activity before deleting the parent item ... I understand that each action must be registered for the proper operation of the undo but this is not very convenient.
Also, I can not manage the list of items to delete using the undo. If for example I delete an item, I index its id in an arrayItemsRemoved array that will be sent to the next save. The problem is that if I do an undo, the item reappears but the item remains in the arrayItemsRemoved array ... Are there any events with the undo (ex: onUndoDelete)
Can you show me an example to manage item/items delete while using undo / redo?
thank you