Type error on using FixedHeader Plugin

Type error on using FixedHeader Plugin

InduVInduV Posts: 3Questions: 2Answers: 0

Hi,

I am using FixedHeader plugin in Datatable that uses column filter. For some reason I am getting "Cannot read property 'FixedHeader' of undefined error in the dataTables.fixedHeader.js file.

var dTable = $("table#sconsoletable").dataTable(dtInitialSetting).columnFilter({
"aoColumns":[null,null,null,{ type: "date-range" },{ type: "date-range" },{ type: "date-range" },{ type: "date-range" },{type:"number"},{type:"text"},{type:"text"},{ type: "text" },{ type: "number" },{ type: "text" },{ type: "number" },{ type: "number" },{ type: "text" },{ type: "text" },{ type: "number" },{ type: "number" },{ type: "number" },{ type: "number" },{ type: "date-range" },{ type: "number" },{ type: "text" },{ type: "date-range" },{ type: "text" },{ type: "number" }],
"bUseColVis": true
});
new FixedHeader( dTable);
$("table#sconsoletable").show();

Can anyone please help me on this?

Thanks.

This discussion has been closed.