FixedColumns 2.0.1 causes error with DataTables 1.8.1 using grouped headers

FixedColumns 2.0.1 causes error with DataTables 1.8.1 using grouped headers

cpursleycpursley Posts: 1Questions: 0Answers: 0
edited July 2011 in General
I am getting the following error using FixedColumns 2.0.1, DataTables 1.8.1, with JQuery 1.4.4 using grouped headers in all columns except the first 2 columns: [quote]Invalid argument: (line 35 character 130).[/quote]

This line contains: [code]i.style.width=g.s.aiWidths[m]+"px"[/code]

I simply create a datatable and call "new FixedColumns( dataTable );"

Is there any way to resolve this issue?

Replies

  • maliwikmaliwik Posts: 55Questions: 5Answers: 1
    I can confirm this as well. Except the same error is only happening in Internet Explorer 8 for me. Line 831 in FixedColumns to be exact.

    [code]nClone.style.width = that.s.aiWidths[iColumn]+"px";[/code]
  • maliwikmaliwik Posts: 55Questions: 5Answers: 1
    Just an update,

    I managed to make it work by doing this:

    [code]
    "fnInitComplete": function(){
    new FixedColumns(oTable, {
    "iLeftColumns": 4,
    "iLeftWidth": 350
    });
    }
    [/code]
  • greenflashgreenflash Posts: 58Questions: 5Answers: 0
    ... as opposed to what?

    Campbell
This discussion has been closed.