nested table feature
nested table feature
I have a product table and a product_bundle table which each bundle is to offer to the customer with a price. since each bundle consists of a different number of products, so I made the product_bundle_item table which each record consists of product_bundle id and product id. I need to show in the mgmt web page the set of product id and name for each product_bundle record regarding the product_bundle_item records. There is a thread https://datatables.net/forums/discussion/2165/subtable-example , there @allan mentioned the feature will be realized in the future version. that thread is in the year 2010. I would like to check what about now (I think this is a real important scenario to cover). the mentioned link https://datatables.net/forums/comments.php?DiscussionID=2088 does not exist. There is a row grouping https://datatables.net/examples/advanced_init/row_grouping.html example, but obviously, it is not feasible. Note that I would like to use the editor to add/remove products to/from a bundle; I would also like to be able to add//remove/edit(name,description) a bundle.
This question has an accepted answers - jump to answer
Answers
Is this what you are looking for:
https://datatables.net/blog/2016-03-25
Kevin
@kthorngren thank you, it looks a good one and I will try it shortly.