Showing the result of a datasubset inside a paging grid

I have the datasubset A shows all managers of my firm . i am showing inside a paging grid .

 

Data subset A has a key value Manager ID 

 

for each manager i am querying employees ( Data Subset B ) who reports to that manager . which i am getting by passing the manager ID from the Datasubset A 

I have to display managers and their direct reports in a single paging grid . as shown below 

      

Manager ID  Manager Name  Designation  Direct Reports 
12 John Sr Manager Don;Kaila;Arun
       

 

I did the following steps 

1) Wrote an expression rule to query all the managers and stored in Datasubset A 

2) For each manager ID in Datasubset A  , i wrote another expression rule to query direct reports 

 

So i have two data subsets which i have to display in one grid . do you know how to accomplish this ?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data