Question
What is the counter part of destroy function when user is clicking add button on details on edit page
12:57 Apr 23, 2022
Hi Community,
We need to override destroy function in edit page and put our custom logic. However, we noticed if you are clicking add button on details on edit page, destroy function is not being called. The destroy function is only being executed when you are clicking close/cancel or if you are clicking directly to other menu. What is the counter part of destroy function when user is clicking add button on details on edit page
Like
1 comments
13:43 Apr 26, 2022
Hi Fulgen,
The destroy method from the BaseNestedModule is called when starting adding a record to a detail. So in your case you need to override this method in case you need to add something to the destroy logic.
Best regards,
Oscar
Show all comments