.fixedColumns is not a function
.fixedColumns is not a function
Dear Team,
I just use fixedColumns.min.js to fix column, and all of the library is the latest(include jquery,datatable.min,fixedColumns.min).
in my page ,we have 2 tab, every tab include a datatable,once change the tab, the datatable not dispplay fine, so i just invoke the below code to adjust the style. but there is en error show ".fixedColumns is not a function",could you tell me how to resolve it, many many thanks.
$.fn.dataTable
.tables({ visible: true, api: true })
.columns.adjust()
.fixedColumns().relayout();
Answers
Hi @JonnyYan ,
I just tried it here, and the function is working as expected. We're happy to take a look, but it would help, as per the forum rules, if you could link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin