sticky headers lose their position

sticky headers lose their position

veloopityveloopity Posts: 89Questions: 37Answers: 2

It's been a while since we programmed this for our client. The problem was there from the beginning and we eventually gave up on fixing it. The client now asks if a fix has been found in the meantime.
The datatable can have many rows (set it to 100 or so), so we added a sticky header which looks ok while scrolling down, then when the headline hits the upper edge of the page it becomes sticky and still looks ok, but as soon as you then scroll up again, the headers lose their position and get evenly spaced. This might well be some effect of interaction with other javascript on the page that we can't easily change but just in case - if you have an idea, please let me know.
https://www.investmentfonds.de/vergleich-fonds-etfs-top-10.cfm

Answers

  • allanallan Posts: 64,273Questions: 1Answers: 10,611 Site admin

    The first thing to do would be to upgrade the versions you are using:

    They are all fairly out of date (DataTables 1.x is no longer supported). There have been numerous changes and fixes since the versions you are using, so hopefully the issue you are seeing has already been addressed.

    Allan

  • veloopityveloopity Posts: 89Questions: 37Answers: 2

    thanks, will do this next week and report how it went

  • allanallan Posts: 64,273Questions: 1Answers: 10,611 Site admin

    Worth noting that v2 is a big upgrade (in DataTables terms). It would be worth checking over the upgrade notes before you do it.

    Allan

Sign In or Register to comment.