I need to implement an infinite scroll, that is, as the user scrolls in a grid that has "potentially" thousands of items. Initially I have an SDT and it is the one I show on the grid.
The idea is that:
The SDT loads from 20 to the cursor position
Show those 20 in the grid
Save the cursor position
This should be quick. As the user scrolls down, cycle 1, 2 and 3 are repeated until finished. So as not to overload the grid.
The most similar thing I found in the wiki is this:
http://wiki.genexus.com/commwiki/servlet/wiki?21311,HowTo%3A+External+Services+%28Scenario2%29,
Where variables count, Start (to say how many to load and from which position of the query to load) and the sdt that load the values are defined. The point is that it is not clear to me how it works.
It loads in LOAD but nowhere do I see that the value of the Start variable is updated so I would always be loading the same 20 items.
If someone implements something so I can approach an explanation, some clue or a welcome xpz !!
Greetings and thanks