I have a grid with a child grid. Both using a datamanager to connect to OData resources.
I have a setup similar to this sample: http://ej2.syncfusion.com/15.4.23/angular/demos/#/material/grid/hierarchy
Using queryString the link between the grid and its child grid works when both tables share the exact field name for both the foreign key and primary key.
However if the grid and its child grid do not share a common field, I was not able to find any documentation to define the mapping.
For example
The below works:
- Parent grid with fields: ParentId, Name, Price
- Child grid with fields: ChildId, Name, Price, ParentId
However, the following does not:
- Parent grid with fields: Id, Name, Price
- Child grid with fields: ChildId, Name, Price, ParentId
What would be the best way to map the Id to ParentId?
Thanks