Nested datatable with 1.10
Nested datatable with 1.10
muzammilr
Posts: 4Questions: 2Answers: 0
Trying to create a nested datatable http://fiddle.jshell.net/w6Hnj/ . but I can only see the table after
1) i have clicked on the first row +
2) then clicked on seconds row +
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You want to initialise the inner DataTable after you run
row.child(format(row.data())).show();
since yourformat
function is returning a string (i.e. there is not node for DataTables to operate on).Allan
thx allan got it working by moving DataTable({ }) from format to , after row.child(format(row.data())).show();