Infinite scroll sends NaN for Start and Length values until window is resized

Infinite scroll sends NaN for Start and Length values until window is resized

DanielpDanielp Posts: 7Questions: 3Answers: 0

Hi,

I have a strange situation with Infinite scroll. When my table first loads it sends the populated integer values for both or Start and Length back to the server. However, On every subsequent data fetch made to the server when scrolling datatables is sending a value of NaN for the Start and Length values. It does this until the window/view gets resized.

So if I open up the Developer tools window in the footer of Firefox or simply grab the corner of the browser window and resize it then things start working normally. I see no errors reported in the web console and everything works fine once the the re-sizing of the view/window triggers something in the datatables code.

Any help would be welcome. A Hack to simulate the window resize may do it but I have not had any luck so far.

-Daniel

Answers

  • allanallan Posts: 52,641Questions: 1Answers: 8,053 Site admin

    Could you try using the nightly version of Scroller which I believe should address this. If that doesn't fix the issue can you link to a test page that demonstrates the issue please.

    Allan

This discussion has been closed.