I am using IgxGrid Detail grid to get parent as well child data. I need help in two scenarios:
1. I have 2 different API's to get parent and child data, but child data has primary key that is also present in parent data i.e. ID. Please suggest which should be best suited grid for the requirement. For now i am planning to use igxGrid detail.
2. I have a requirement to expand the child detail on click of parent grid cell, i.e. ID. How can i achieve this. Please help.
Please reply ASAP as it is an on-going project.
Master-Detail visualization for igxGrid was introduced in igniteui-angular 9.0.0, and it is not available in the prior versions to that.
The same sample demonstrates how to place a chart in a detail template as well. Please expand any row and click "SALES" tab in the template.
www.infragistics.com/.../master_detail.html
You can check the source code by clicking "VIEW ON CODESANDBOX" or "VIEW ON STACKBLITZ" button under the grid.The data for the chart is dynamically generated in getChartData() function in grid-master-detail.component.ts separately from the parent grid data.
If i am using a chart instead of igx grid in child, how can i provide child data? Also s per the sample of igx Master detail grid, for any chart, the data source is the parent data, right?Grid Master Detail is supported for which versions?
This is because i have version of igniteui-angular : "8.2.7". What can be used alternate of toggleRow
Are you able to reproduce the error on the sample I provided?
https://stackblitz.com/edit/github-qsppcl?file=src/app/grid/grid-master-detail/grid-master-detail.component.html
when i use toggleRow(), it throws error saying "Property togleRow does not exist on type IgxGridComponent"