Open/close row DataTables 1.9 with FixedColumns
Open/close row DataTables 1.9 with FixedColumns
Hello,
I would like to ask how to use the example "•Show and hide details about a particular record" (http://legacy.datatables.net/release-datatables/examples/server_side/row_details.html) for a DataTables 1.9 with FixedColumns (the first column is fixed).
The problem I have is that $('#example tbody td img').live( 'click', function () {.... doesn't work because the open/close image is not in the td>tbody>example but in the cloned table (the one with "DTFC_Cloned" class) (the first column is fixed).
So I am not able to use the "td" of the fixed column because it is in the DTFC_Cloned table.
Thank you,
A
Answers
Hi,
There is no ability to do that with even 1.10 (1.9 is no longer supported btw). The compatibility chart shows that FixedColumns cannot currently be used while child rows.
Allan
Actually I was wondering how could it be possible with a fixed column to insert a new row.
Thank you, Allan!
I don't know to be honest! And that's the reason why FixedColumns and the child rows are not currently compatible. The fixed columns float on top of the main table and typically have the width of only a single column. While the child row will typically span the width of the whole table. The two are incompatible.
Allan