Accessing Page parameter inside data grid

Hi all, I am trying to access the data of page parameter inside data grid, I have a dataview which has page parameter with entity A and inside that I have a datagrid with entity B. Now I want to use the page parameter to fetch data from database, but I am not able to use the page parameter in data grid. I also tried to do it with %CurrentObject%, but it is not giving anything. Please help me out.    
1 answers

What is the relation between the object B in the list and the Object A?

Normally you would have the following domain model

The page would look like this