Master-Details tables
Master-Details tables
Alex.Zaikin
Posts: 46Questions: 3Answers: 0
Hello
I need Master-Detail pattern. But the child row is also table.
The look and feel have to be similar to this example with ag-grid: https://embed.plnkr.co/HVIZXm8Mbe4JIoNtSd1J/
I am generating html tables with help of *ngFor, than decorate them with datatable attribute
I am using DataTables in Angular. So respective example would be appreciated!
Thanks!
Replies
Looks like you are asking about Child Detail rows as shown in this example:
https://datatables.net/examples/api/row_details.html
Looks like you want the Child to be a Datatable. Not sure there are Angular specific examples of this. You can start with this blog which discusses Editing Child rows with the Editor. If you aren't using Editor you can ignore those parts of the document.
Here is another example of child detail rows as a Datatable:
http://live.datatables.net/xedarenu/1/edit
Kevin
Thanks for the response.
I would be nice to have example for Angular Datatables component with such detail DataTable.
I don’t understand how child rows can represent related data fin a one to many relationship
@gdmeeste Maybe this ajax loaded child details blog will help.
Kevin