fixedHeader doesn't scroll horizontal

fixedHeader doesn't scroll horizontal

kingarthurkingarthur Posts: 2Questions: 1Answers: 0

I have a datatable that uses fixedHeader and "scrollX: true". No Y scroll.

The only problem is that if you scroll down, the header is fixed but it does not follow the horizontal scroll but stays in place.

Is there a quick fix for this?

Thanks!

Regards,

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    Answer ✓

    FixedHeader is not compatible with scrollX or scrollY I'm afraid.

    Allan

  • kingarthurkingarthur Posts: 2Questions: 1Answers: 0

    I see, thank you for clarifying, hope it will come in the future. :)

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    I've got a good idea of how to do it - but there are edge cases (particularly the top left and top right cells) that make it a bit complicated!

    Not sure when it will happen, but it will.

    Allan

  • MarkKoenenMarkKoenen Posts: 1Questions: 0Answers: 0

    +1 for this issue. And apart from this issue I really love DataTables! Keep up the great work!

    Regards,
    Mark.

This discussion has been closed.