Fixed header Alignment issue.

Fixed header Alignment issue.

tormod17tormod17 Posts: 2Questions: 1Answers: 0

Like many others I have an issue with the fixed header not aligning properly as I start to scroll.

The code pen I have created doesn't have the problem. see here

However, my development site which uses the same code does. see here

I have tried using a small data set as well on the dev site but the results are the same.

I have seen the columns.adjust().draw() but am not 100% sure where to place this.

Answers

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    It looks to be about 1 or 2 pixels out in Chrome. Is that what you are seeing as well, or is it more pronounced for you?

    Allan

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    Worth noting that the DataTables software (including the extensions) used on your page is out of date. It would be worth updating to the latest releases.

    Allan

  • tormod17tormod17 Posts: 2Questions: 1Answers: 0

    @allan

    Thanks for the prompt response. I have updated the extensions to use the latest CDN links but this hasn't fixed my issue. I still have the problem with the fixed header not being aligned in some columns its more than just a few pixels. This can be seen here .
    http://pinpointlearning.co.uk/tormod-dev/tormod-data-table.php

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

    Hi @tormod17 ,

    Your page isn't loading - could you take a look at that, please.

    Cheers,

    Colin

This discussion has been closed.