/** Example initialisation*/$(document).ready( function () {var table = $('#example').dataTable();new $.fn.dataTable.FixedHeader( table );} );
Hi,
I encountered another issue here probably due to CSS. When the content of one column is too long, the fixed header may seem not aligned with the original table header. And the alignment varies in different browsers.
Although the codes Yihui provided did work in building the fixed headers, I feel sorry to have to remove the fixed header because of the uncomfortable alignment.
Thanks again.
Aaron