Closed flc closed 12 years ago
I've just tried the following and it seems to work okay:
$(document).ready( function () {
var oTable = $('#example').dataTable({bDeferRender:true});
new FixedHeader( oTable );
} );
Can you provide a test case showing the error please?
wow, you were so quick with the response. :) did you try sorting on one of the columns? thats when the problem starts to occur. if you can't reproduce it, i'll try to demonstrate the problem with a simple example. thx ...
Heh - you caught me at a good time :-)
It does seem like there is an issue there when sorting - it looks like the header is a step behind for some reason... I shall investigate. Thanks for flagging this up.
nice, thanks again for the quick feedback and keep up the great work.
The fix can be downloaded from the 1.0.7.dev nightly on the DataTable download page or here in Github now.
Thanks for letting me know about this!
when using the bDeferRender option to dataTable, FixedHeader works out of sync (the cloned thead isn't in sync with the original thead after for example you do a sort on one of the columns).