FixedHeader and sorting

FixedHeader and sorting

HSombHSomb Posts: 3Questions: 1Answers: 0
edited November 2013 in FixedHeader
I've just created a test table with a 40 rows and I'm using FixedHeader. If I sort the list before I do any scrolling the fixed header works fine but if I sort the table while I'm half way through it, the fixed header jumps to the top of the HTML page, leaving the table.

Just using regular
var oTable = $('#tblTest').dataTable();
new FixedHeader(oTable);

The only specific thing is that the table is inside a position:absolute div.



.mainArea {position: absolute; top: 112px;}
Any input on how to solve this would be appreciated.



  • HSombHSomb Posts: 3Questions: 1Answers: 0
    Ok, I digged around and managed to find a solution by editing the offset.

    "oOffset": {
    "top": 112
This discussion has been closed.