How can you make nested Tables and maintain the layout/formatting?
How can you make nested Tables and maintain the layout/formatting?
erikduvet
Posts: 7Questions: 2Answers: 0
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> |
|
```
This discussion has been closed.