Click on View link and show associated data of that Id

Hello All, I want to retrieve the associated data when I click on the View link. EX: I have a row with some basic detail, but when I click on the view link it should show the whole data from the associated entities(whatever is connected) and display those records. I am using data grid 2 and on the last column, I am using Show custom content. I need that when I click on the View Instruction, It should go to another page where it should show the associated content from 2-3 more associate entities based on the clicked row id.  Let me know.
1 answers

create a detail page that has a dataview for the entity in the Datagrid2 and inside of the dataview, either listviews or datagrids to show the associated information.  Set up the View Instructions link to open the detail page.