I have to display a long list of transactions (at least more than 1000) per day. Choosing the day I limit the number of transactions, I can also filter by status, but they are a lot, anyway.
I have pagination, but I don't like it.
What I want to achieve is the following:
<div/>Of course, my DB supports a queries with 'SKIP FIRST m LIMIT n RETURN content'
Any suggestion on how to logically accomplish this? Thank you.
Here's How I Would Try To Accomplish This(In Very Basic Terms):
document.documentElement.scrollTop gives the amount the user has scrolled in pixelsdocument.addEventListener("scroll",function(){
console.log("Scrolled By"+document.documentElement.scrollTop)})
if (0.8*nooftransactions*avgheight < document.documentElement.scrollTop){loadnewlines()nooftransactions variable.