Why does my fixedHeader go to the top of the screen when the column sort is pressed?

Why does my fixedHeader go to the top of the screen when the column sort is pressed?

Ant_HNRAnt_HNR Posts: 1Questions: 1Answers: 0

Hi, I have a problem with my DataTables fixed header. when the page loads it sits nicely in the table and scrolls with the content but when you press the sort tabs it changes the inline css from "position: absolute; top: 175.2px" to "position: fixed; top: 0px" which will place it at the very top of the page.

This will return to normal once the page is refreshed but I don't understand why this change is being applied in the first place?

This discussion has been closed.