Table Headers are not rendered properly.
Table Headers are not rendered properly.
shayan
Posts: 2Questions: 1Answers: 0
Hi, I am facing an issue of table headers are not rendering properly (There is a bug on alignments as follows).
But when I do any change to table from the UI (sorting or searching or pagination) the alignment issue is getting fixed.
How can I fix this issue?
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
I tried to reproduce the case. But that UI bug is not being reproduced there.
https://live.datatables.net/ciwoduke/32/edit
We'll need a link to a page that does demonstrate the issue then please (hard to debug something which is working ). Perhaps the table on your page is initialised while hidden or something?
Allan
Setting 'autoWidth: true' solved this issue for my case.