Table Headers are not rendered properly.

Table Headers are not rendered properly.

shayanshayan 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

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

  • shayanshayan Posts: 2Questions: 1Answers: 0

    I tried to reproduce the case. But that UI bug is not being reproduced there.

    https://live.datatables.net/ciwoduke/32/edit

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin

    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

  • adrimadrim Posts: 1Questions: 0Answers: 0

    Setting 'autoWidth: true' solved this issue for my case.

Sign In or Register to comment.