Hello,
i’m trying to develop an infinite scrolling on a search results.
I’ve got a Div with the first 10 result and i want to append the next result within it but (without using React only with Python) it seems impossibile
This certainly works for your use case. Incrementally add each additional piece of data to the hidden div children and then listen to the hidden div’s children to update the information in the table.
Generally I don’t like using hidden divs, i prefer some kind of backend object on disk etc. so I can maintain state or observe what happens. But it certainly works.
That’s the question - how to do it incrementally? I’ve just implemented your “Load more” button solution and it works great, but I don’t know how to move from a user-triggered “Load more” to silent loading of pieces of data. What triggers the callback?