How to populate the data in a data grid coming from multiple entities

0
Hi Experts, I have the use case I wanted to populate the data grid with the data which is coming from multiple entities . This data grid has to be reload based on click event of each menu item .is it possible to use single data grid which will be reloaded with new data on click event of menu item Looking forward for your valuable responses.  
asked
1 answers
0

Hi Manesh, 

1. You can maybe create helper entity that consists of attributes from the other two entities that you want to combine in the datagrid. 
(example: Entity1=Car + Entity2=Person = HelperEntity CarOwner)

2. Not sure what you really need here, but I’ll write the solution on how I understood. Basically, if you want to click on menu items and show different things, you can use the XPath constraints on your datagrid where the source would be HelperEntity but then you would need to have multiple pages with the same datagrid only different XPath constraints.

Again, not sure what you need for second part but if you explain it more we can help you better :) 

Good luck,
Barbara
 

answered