How to prevent the next scrolling load to be triggered

How to prevent the next scrolling load to be triggered

curunoircurunoir Posts: 2Questions: 1Answers: 0

Hello everybody !

First thanks for the guys who work on this project !

I have used datatables with scroller on a project similar to this example : https://datatables.yajrabox.com/eloquent/row-details
When someone click on "+ icon" content is loaded with ajax and displayed right next to the row clicked.

The problem is the first time I click on a plus icon it seems that the table rows are reloaded, maybe because the scroller plugin detects a scrolling because of the height of the new content added right after the row. To the user it looks like that the first time he click the plus icon, the content is shown during 1 second then automatically hidden because of the reloaded rows.

So I would like to know if there is a way than I could prevent the next scrolling loading to be triggered, or if you think about another way. Thanks for reading until there.

Answers

  • curunoircurunoir Posts: 2Questions: 1Answers: 0
    edited September 2017

    Excuses I have still the problem.

This discussion has been closed.