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
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?
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?
This discussion has been closed.
Replies
[code]nClone.style.width = that.s.aiWidths[iColumn]+"px";[/code]
I managed to make it work by doing this:
[code]
"fnInitComplete": function(){
new FixedColumns(oTable, {
"iLeftColumns": 4,
"iLeftWidth": 350
});
}
[/code]
Campbell