Drill Down DataTables..(Nested Datatable / Using Child-row)

Drill Down DataTables..(Nested Datatable / Using Child-row)

kmkkmk Posts: 1Questions: 1Answers: 0

Hi, I'm glad to meet this library. Thx.

I wanna make Drilldown Datatables (Nested Table)

https://www.datatables.net/examples/api/row_details.html

this page describes about child row. and i'm using this to make nest dataTable.

First, Making Child row including table(id=TABLE01), then $("#TABLE01").dataTable();
but Child row is disappeared.

what can i do?

Answers

  • AshbjornAshbjorn Posts: 55Questions: 2Answers: 16
    edited July 2015

    Hi kmk,

    You should be able to select the inserted table like so:

    $(row.node()).next().find('table').DataTable();
    

    This would be added around line 50 in the script on the page that you linked.

    Hope this helps,

This discussion has been closed.