Horizontal scrolling in FixedHeader not working since version 3.0.0

Horizontal scrolling in FixedHeader not working since version 3.0.0

humbabahumbaba Posts: 1Questions: 0Answers: 0

Hi,

it seems that horizontal scrolling does not work in FixedHeader since 3.0.0, i.e. when on scrolles horizontally the fixed header does not scroll accordingly. This can be seen on the example page https://www.datatables.net/extensions/fixedheader/examples/options/horizontal-scroll.html.
I can confirm that in version 2.1.2 the behaviour is as expected.

Regards
Humbaba

Replies

  • dclar43dclar43 Posts: 47Questions: 13Answers: 2

    Check the compatibility table.

    Specifically:

    FixedHeader is not currently compatible with DataTables' scrolling options due to the fact that the scrolling operation splits the table into component sections.

    Though that seems to refer to scrollX it may be the same issue. I would really like to see this resolved though.

  • allanallan Posts: 63,755Questions: 1Answers: 10,509 Site admin

    I think that Humbaba might be referring to the window's scrolling rather than DataTables' scrolling options. In which case, yes, this is a bug - but the good news is that is already been resolved. The nightly version includes the fix and it will be released next week.

    Allan

  • dclar43dclar43 Posts: 47Questions: 13Answers: 2
    edited October 2015

    Ahh great. I was just having the window scroll but switched over to scrollX just the other day. I'll switch back and check out the nightly version. Thanks Allan.

  • tobijamestobijames Posts: 3Questions: 1Answers: 0

    did you already publish these changes??? you saved me a lots of hours :D

  • allanallan Posts: 63,755Questions: 1Answers: 10,509 Site admin

    Yes - v3.1.0 includes this fix - release notes.

    Allan

This discussion has been closed.