I have a main view which holds tables that contain basic details of relevant records. It is then possible to select the relevant record and use a button to fire a plug that loads a second view with the full record details.
The problem I'm having is when I return to the main view and select a different record the details of the first selection are still being displayed in the second view.
I've tried setting the node as empty and using lo_node->invalidate( ) when returning to the main view via the return button but as yet I've not achieved the solution I'm looking for.
Can anyone please suggest the most effective way handle this situation.