Alignment issue between table body and table header
Alignment issue between table body and table header
I have used a jquery-datatables plugin 1.10.12.
When there are more columns in table, it doesn’t display horizontal scroll initially and because of it, alignment gets disturbed. But whenever we make any interaction with table, it works absolutely fine.
To solve this issue we used this:
var timer = setTimeout(function(){
$('#'+tableID).dataTable().fnAdjustColumnSizing();
}, 10);
Now we are getting horizontal scroll initially, but the alignment issue still remains if there are more columns in table.
This question has an accepted answers - jump to answer
Answers
Can you try 1.10.15 please? If that doesn't help, please link to a test case showing the issue.
Allan
the alignment issue was coming due to garbage data. thanks anyways
Thanks for posting back. Good to hear you have it working.
Allan