Go back to the Grid view and show the grid and the subgrid already open

I have this awkward request for the following implementation: I have one view with a DataGrid and a SubGrid that appears inline everytime I press an ID on the main grid. On this subgrid, I have an action button that takes me into a new view and allows users to see and interact with the data related to that subgrid.

The request is that after editing some in this second view it should go back to the Grid view and show the grid and the subgrid already open. Is there any other natural way of fulfilling this request?

They want users to see the previous grid and subgrid open as it was when the view was changed

Sorry, I cant show screens to help visualize due the data displayed does not allow me to do it.