30 Oct 2012 9:27 AM #1
Unanswered: Dealing with numerous data..
Im working on a sencha application in which there is a case as follows..I have some 700 records which are loaded into a json file in the backend with rails and then displayed in the front end by sencha touch2..It takes a really really long time fr t to load and appear in the front end,by the time the json file loading is "timeout" while loading thro the stores..Though i increase the time of the timeout fr loading the store,i feel t wont serve its purpose cos t takes a long time to appear in the front end...
I want to know if there is some technique like pagination in sencha touch2,to start loading the first few records evn if loading is incomplete..Or is there some other technique??What is to be followed in this situation?
Pls reply,thanks in advance..PS.:If there is any information u need that i left out kindly let me know il provide it
30 Oct 2012 2:25 PM #2
If your using a list to display the data I would suggest looking at the ListPaging plugin.
xclass: 'Ext.plugin.ListPaging', autoPaging: true }]