Nested Tables
Nested Tables
Hi,
i need to create a nested tables for example:
https://datatables.net/release-datatables/examples/server_side/row_details.html
when i open row detail i need to create second table inside with sever-response information (ajax call when i click on image)
how i can do?
thx
Alex
i need to create a nested tables for example:
https://datatables.net/release-datatables/examples/server_side/row_details.html
when i open row detail i need to create second table inside with sever-response information (ajax call when i click on image)
how i can do?
thx
Alex
This discussion has been closed.
Replies
> oTable.fnOpen( nTr, fnFormatDetails(nTr), 'details' );
Just initialise the new table like you would any other table. Its in the DOM, so you can do whatever you want with it - including making it into a DataTable.
Allan
table -click-> row -open-> table -click-> row -open->table
but every so give me a problem:
DataTables warning (table id = 'secondInnerTable'): Cannot reinitialise DataTable.
To retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy
why?
thx
Alex
Allan