1px collapsed table Xscroll error
1px collapsed table Xscroll error
mikaeln
Posts: 2Questions: 1Answers: 0
in DataTables
has this 1px problem been solved?
Answers
There is no option to use
border-collapse: collapse
with DataTables when in scrolling mode I'm afraid. It simply makes the calculations to align the table header and body impossible (since they don't actually add up correctly! They are dependent upon the body content as well as the header content).You need to use
border-collapse: separate
which is why the DataTables stylesheet sets that explicitly.Allan
thank you Allan, this solves it very well