View Full Version : Need help in Lazy loading of List

24 Dec 2012, 3:46 AM

I am using a third party api. When sencha hit first api it will return all records at once. I can't buffer or store it in db but i want to call second api which will find some other information on the bases of first data. If i use second api on server side then it will slow down my performance because i have to run second api for all records i got from first api.

I need to load some records from first api and alos i want to run second api for 5 records. And then if scroll bar reaches the bottom then it will loads other 5 records with info of second api also. Like this...

Please let me know if my question is not clear.

26 Dec 2012, 7:30 AM

By the doc:
returns all Model instances that have been updated in the Store but not yet syncronized with the proxy.

you can get this models instaces and submit us to the second API.

I think you need a second store or make an ajax request to this API.

8 Jan 2013, 10:39 PM
Thanks.. i got the solution.