Is it normal that dataTables_scrollFoot not being aligned after page reload?
Is it normal that dataTables_scrollFoot not being aligned after page reload?
So this is my problem. I have a datatable with an input based searchable tfoot.
But only once in a while the table foot aligns with the table body cells.
Most of the times it's like this:
-> new info: after table reload it get 'normal' again.
After some page reload attempts it gets like this (like how it's supposed to be right?)
How can this be solved? Or debugged? (applied filters don't affect, it was just for demo).
My columns are set as:
columns = [{... , ... , width: "XX%"}, ...],
Thank you.
This question has an accepted answers - jump to answer
Answers
Sounds like a CSS issue. I would start by making sure you have loaded all the correct Datatables CSS and JS files for the styling you are using. The Download Builder is a good place to start.
Next I would simplify the page and load only what is needed for Datatables then add to it to find what causes the issue.
Or you can link to your page or a test case replicating the problem.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin