I am building a customisation that extends a view (BaseProductBundlesQuoteDataGroupListView) that already extends the BaseRecordView and I need one of my custom functions to run after a new record is saved.
I've found that there are save() and handleSave() functions in BaseRecordView, but I have been unable to extend or _.wrap() them in any way I could find. Running my function on this.context.get('parentModel').on('save') or 'saved' does not work at all. I have also tried runing it on this.parent.context.on('button:save_button:click'), but nothing happens.
Do you know how to do this efficiently without messing around with creating an additional view and duplicating my custom methods?
May I should build this the other way around and extend the Quotes record view, getting and using the child view of BaseProductBundlesQuoteDataGroupListView?