problem position

problem position

bookinbookin Posts: 3Questions: 0Answers: 0
edited October 2012 in FixedHeader
incorrectly displayed in chrome clone footer

please help

call:
[code]
"fnInitComplete": function(oSettings, json) {
new FixedHeader( oTable, { "left": false, "right": false,"top":false, "bottom": true } );
},
[/code]

http://habrastorage.org/storage2/70b/a84/779/70ba84779dd17246bc15bce80e13c0a0.png

Replies

  • psenechalpsenechal Posts: 32Questions: 2Answers: 0
    I have the same problem in Chrome, but when using it for the header. My code initializes it as

    [code]new FixedHeader(oTable, {
    "offsetTop": 112
    });[/code]

    it works fine in IE and Firefox, but in Chrome, as soon as it scrolls to where the header should be fixed, it's placing it 229px from the top, not 112px.

    also, in Chrome, if I'm already scrolled to the point that the fixed header has kicked in and then I hit refresh on the browser, the fixed header locks in to the correct position at that point. Just not on initial display.
  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin
    @bookin - please link to a test case showing the problem so we can debug it.

    Allan
  • psenechalpsenechal Posts: 32Questions: 2Answers: 0
    It happens for me on your website: http://datatables.net/extras/fixedheader/

    Try it using Chrome...I'm on Version 22.0.1229.94 m
This discussion has been closed.