Hi!
In the company I work we're developing a web platform that needs to fully support Chrome and Firefox (at least no IE needed!) and we are using DataTables. Everything as been running smoothly with it but there's a problem that annoy us (and the client too), which is the alignment of the thead
with the tbody
when we have scrollX
enabled in Firefox.
I've used CSS to show the hidden thead
of the div.dataTables_scrollBody
to compare the alignments and take a picture of it, which is this one - http://i.imgur.com/jMilmcQ.png - As you can see, the thead
of the div.dataTables_scrollHead
isn't aligned with the thead
of the div.dataTables_scrollBody
.
In Chrome they are not aligned too but the difference is very small and is consistent as you can see here - http://i.imgur.com/rjtIRTd.png - which doesn't raise any concern.
I've tried to create a fiddle of it but can't reproduce the problem in there (it works like it should) and I've spent some hours trying to fix it but with no success. I've tried every single 10.x version of DataTables and the problem persists.
I used other options to create my own scrollX
behaviour with success however I need to use the FixedColumns extension which requires scrollX
property to be enabled.
Does anyone knows what is this problem and how can I solve it?