Hi,
I have a parent child relationship (one to many).
Updates on the child record trigger a hook that updates values on both the child record and its parent record.
The child record data is updated in the UI but the parent data is not.
How can I refresh a parent record from the context of a child record?
I have tried
but this does not appear to work when done from the child context.
Is it possible to get each view/entity displayed on the screen and interact with them from another?
I have a parent child relationship (one to many).
Updates on the child record trigger a hook that updates values on both the child record and its parent record.
The child record data is updated in the UI but the parent data is not.
How can I refresh a parent record from the context of a child record?
I have tried
HTML Code:
this.model.fetch(); this.model.trigger('update-all');
Is it possible to get each view/entity displayed on the screen and interact with them from another?
Comment