I use Sencha Touch List ( xtype: list ) in my applications, with the listPage plugin. It works like an endless effect spell by setting autopaging: true .
BUT, my question is how to save records in the repository (or lines in the list) only on a certain amount, for example 50 records.
So, when the user scrolls down, it automatically loads the next page, deleting the previous (current) page and when scrolling up, loads the previous page.
The goal is to limit the number of records in the store, because if it is loaded (continuing to scroll down), it gives an error message (tested on the iPad).
That makes sense, I have 40k records on db.
source share