oTable.fixedHeader = new $.fn.dataTablesExt.FixedHeader(oTable); ...update the DOM... oTable.fixedHeader.fnUpdate();
$("thead:eq(0)>tr th:eq("+i+")", _nCTable)[0].style.width =
parseInt($(this).css('width'))+"px";
The value of 'width' returned from the TH by IE is 'auto', rather than the pixel value, which ends up causing an error.
var width = $(this).width();
$("thead:eq(0)>tr th:eq("+i+")", _nCTable).width(width);
$("thead:eq(0)>tr td", _oSettings.nTable).each( function (i) {
$("thead:eq(0)>tr td:eq("+i+")", _nCTable)[0].style.width =
parseInt($(this).css('width'))+"px";
} );
I haven't been able to pin-point why this happens, as the web seems a bit short on moans about IE not supporting the 'width' property. I was worried it was a quirks mode problem, but haven't tested that.It looks like you're new here. If you want to get involved, click one of these buttons!
Get useful and friendly help straight from the source.