serverSide with deferredLoading causes FixedColumns to not initalise properly
serverSide with deferredLoading causes FixedColumns to not initalise properly
cbeech
Posts: 1Questions: 0Answers: 0
in FixedColumns
This is replicable by using the server side example: https://datatables.net/release-datatables/extensions/FixedColumns/examples/server-side-processing.html
And then adding an initial row:
<tbody>
<td>Test</td>
<td>Test</td>
<td>Test</td>
<td>Test</td>
<td>Test</td>
<td>Test</td>
</tbody>
And setting the deferredLoading to 1
$(document).ready(function() {
var table = $('#example').DataTable( {
scrollY: "300px",
scrollX: true,
scrollCollapse: true,
ajax: "../../../examples/server_side/scripts/server_processing.php",
serverSide: true,
deferLoading:1
} );
new $.fn.dataTable.FixedColumns( table );
} );
Here's the debug output: http://debug.datatables.net/eyasaf
U'll notice the table is created but the first column isn't frozen.
Many thanks in advance for your help
This discussion has been closed.