Question

What is the counter part of destroy function when user is  clicking add button on details on edit page

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 0

Like

1 comments

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