PDA

View Full Version : can I add autoabort on datastore



iceblast_01
8 Nov 2010, 7:15 PM
Ext.Ajax has autoAbort which could abort any pending requests, can I use this on datastore so that when a user clicks a reload button my store don't load twice or more?

I have a function under load event of the store, if the user reloads the store and there are still some pending requests, the store loads several times(after the pendings gets loaded), then my function is called several times.

Or, is there anyway to cancel previous request of that store that is still loading?

Spenna
7 Jan 2011, 5:54 AM
Check this:
http://www.sencha.com/forum/showthread.php?81401-aborting-store-load&p=391388#post391388