Fixed Columns 2.0.4 ie8 bug (if table has no content)

Fixed Columns 2.0.4 ie8 bug (if table has no content)

ccmp2kccmp2k Posts: 2Questions: 0Answers: 0
edited August 2012 in Bug reports
Hello Allan,

it seems that there is a bug in the Fixed Columns Plugin, that throws the following error in ie8:

Invalid argument. FixedColumns.js, line 950 character 4
[code]
947 var anUnique = this.s.dt.oApi._fnGetUniqueThs( this.s.dt, $('>thead', oClone.header)[0] );
948 $(anUnique).each( function (i) {
949 iColumn = aiColumns[i];
950 -> this.style.width = that.s.aiInnerWidths[iColumn]+"px";
951 } );
[/code]

When the table has no content (in my case the content is generated and can be empty), the function is called twice. The aiColumns-array contains two elements, but the array aiInnerWidths contains only one element. This forces ie8 to throw the error above and stops the further script from working properly.

Do you have any suggestions?

Thanks,

Christopher

Replies

  • iberkneriberkner Posts: 1Questions: 0Answers: 0
    We are seeing an identical issue. Is there an update / resolution?
This discussion has been closed.