September 25, 2020, 01:29:07 AM

See more Support incidents in our old archived forum.

Author Topic: Undo and delete items exemple needed  (Read 1886 times)


  • Customers
  • Newbie
  • *
  • Posts: 4
Undo and delete items exemple needed
« on: May 10, 2017, 03:27:34 PM »
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


  • RQ Members
  • Full Member
  • *
  • Posts: 149
Re: Undo and delete items exemple needed
« Reply #1 on: May 11, 2017, 07:49:53 AM »

We are looking on this, will update you soon.