Datatable within the row details of another table
Datatable within the row details of another table
rclark
Posts: 2Questions: 0Answers: 0
Hi Alan,
We just started using DataTables (the latest 1.8.2) and really like all the different features. It's a nice plugin.
We want to use the show/hide details capability. I have it working for a simple example, but we would like to use it in a bit of a different way. When the icon/row is clicked, we want to be able to show another DataTable (with very different columns) in the details section. I could achieve this manually by creating a table similar to the example, but is there a way to initialize another DataTable? My first attempt at this did not work. In the 'fnFormatDetails' I attempted to return a newly created DataTable, but nothing displayed. Any ideas?
Also, setting the column widths with aoColumnDefs does not appear to be working. I saw on some previous posts that it was having issues in 1.7.x, but I am also seeing it in 1.8.2
Thanks for any help/suggestions you may have.
-Ray
We just started using DataTables (the latest 1.8.2) and really like all the different features. It's a nice plugin.
We want to use the show/hide details capability. I have it working for a simple example, but we would like to use it in a bit of a different way. When the icon/row is clicked, we want to be able to show another DataTable (with very different columns) in the details section. I could achieve this manually by creating a table similar to the example, but is there a way to initialize another DataTable? My first attempt at this did not work. In the 'fnFormatDetails' I attempted to return a newly created DataTable, but nothing displayed. Any ideas?
Also, setting the column widths with aoColumnDefs does not appear to be working. I saw on some previous posts that it was having issues in 1.7.x, but I am also seeing it in 1.8.2
Thanks for any help/suggestions you may have.
-Ray
This discussion has been closed.