How can you make nested Tables and maintain the layout/formatting?

How can you make nested Tables and maintain the layout/formatting?

erikduveterikduvet Posts: 7Questions: 2Answers: 0
edited April 2015 in Free community support

Hi!

I'm trying out the responsive DataTables and wanted to make a test with nested Tables, I have a basic fist example but I cannot seem to get the Layout for the second Table the way that the first Table is. I believe that I might need something in my Javascript, if the instantiation for DataTables only occur in document.ready and misses this second table or if there is something else I'm doing wrong?

```

$(document).ready(function() { $('#example').DataTable({ responsive: true }); $('#example1').DataTable({ responsive: true }); });
First name Last name Position Office Age Start date Salary
John Doe Architect London 50 2015/04/01 $300/td>
First name Last name Position Office
Jane Doe Accountant Tokyo

```

This discussion has been closed.