PDA

View Full Version : LocalStorage and Pagination, Need Help.



sinoptik
18 Jul 2011, 12:10 PM
Hi!
I do my first project on Sencha Touch, As I understood pagination (loadPage, nextPage, previousPage and read({start: 10, limit: 10}) ) does not work on LocalStorage (WebStorageProxy).
Somebody tell me how can I show in list the last 10 records from LocalStorage.
I tried everything, but still displays all the records.

In the database I have a lot of records, them I filtered records by name, i need show the last few sorted by date.