Can I nest a datatable within another datatable as a master details relationship.
Can I nest a datatable within another datatable as a master details relationship.
classic12
Posts: 228Questions: 60Answers: 4
ie the main table is the customer details then the 'container datatable is quotes / or invoices
See image for mockup
www.toolfolks.com/masterDetail.jpg
Any examples ?
This discussion has been closed.
Answers
Is this what you are looking for?
https://datatables.net/examples/api/row_details.html
Kevin
That type of thing but when you expand there are rows of data. Eg the top container would be the invoice date number etc.
The opened row would be the rows on the invoice.
Yes you can - see this blog post for the basic techniques needed. That could be expanded to then use the row details APIs that Kevin linked to.
Allan