.columns.adjust() not working
.columns.adjust() not working
Rishwin123
Posts: 2Questions: 2Answers: 0
.columns.adjust() is not working on datatable draw but works on datatable init complete? Why so?
I wanted to relayout the fixed columns.
If I use .columns.adjust().fixedColumns().relayout();
it gives me the following error:
Cannot read property 'style' of null
This discussion has been closed.
Answers
That error doesn't occur with this test case:
http://live.datatables.net/vitidaki/1/edit
Please update the test case to show the issue or provide a link to your page for debugging.
Kevin
This can be caused by a mismatch between your HTML
table
columns and what is defined in Datatables. But we will need to see the problem in order to help.Kevin