My datatable sometimes goes over my sticky div when scrolling

My datatable sometimes goes over my sticky div when scrolling

zx81zx81 Posts: 9Questions: 2Answers: 0

I have a page toolbar and header inside a sticky div.
When I scroll inside the datatable it sometimes (and pretty much all the time on mobile) scroll over my sticky part to take the whole screen.

I'm using the responsive and scroller extensions.

Any way to avoid that ?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,213Questions: 1Answers: 10,415 Site admin
    Answer ✓

    Thanks for your question. As noted in the forum rules, please post a link to a running test case showing the issue so we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    My guess is that it is z-index related, but I'm not sure. Perhaps you need to increase the z-index for your sticky div.

    Allan

  • zx81zx81 Posts: 9Questions: 2Answers: 0

    z-index fixed it. Thanks allan.

This discussion has been closed.