fnOpen on 3-level detail rows

fnOpen on 3-level detail rows

asifhussainasifhussain Posts: 7Questions: 0Answers: 0
edited December 2013 in DataTables 1.8
Hi,
I am trying to achieve something like this http://datatables.net/forums/discussion/284/row-parent-childrens-tree/p1
The following is a part of my code,

$('#example tbody tr').each( function () {
oTable.fnOpen( this, fnFormatDetails(this.id), 'details' );
} );

cTable = getChildTable();
$('#example #example2 tbody tr').each( function (index) {
cTable.fnOpen( this, fnJobTitleDetails(this.id), 'details' );
} );
It displays row 1, its children 1.1, 1.2, 1.3.. and its children 1.1.1, 1.1.2,1.1.3.. perfectly fine but from row 2 onwards, fnOpen fails to display 2.1.1, 2.1.2 etc

Replies

This discussion has been closed.