Datatables.net multiple Nested tables (collapse doesn't work)

Sebastien Dionne picture Sebastien Dionne · May 13, 2016 · Viewed 8k times · Source

I created a demo to play with Datatables and nested tables. I wanted to have multiple level of parent/child with collapse/expand.

I was able to create 3 levels of tables, but when I want to collapse the 2th nested table, Datatables is not able to handle it.

JSFiddle

New Demo that almost work here JSFiddle.

The problem with this usecase : Expand the row with "data1", after that expand the row "data2", and expand the row "data1/aaa). That will open a new table, but it will contains the search bar and footer.

Answer