22 Mar 2013 4:48 AM #1
abort a store ajax request when a new request comes in.
I have a requirement of aborting all the active requests associated with a particular store only.
abort(store.proxy.activeRequest); doesn't work for me.
Using Ext Version 4.
Could you please help me on this ?
25 Mar 2013 7:35 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
That's because there is no activeRequest property on the proxy, where did you get that from? The proxy doesn't keep track of what requests it sends.Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
27 Mar 2013 3:48 AM #3
I found it in someones post online.
For now I am tracking the previous requests using Ext.Ajax instead of a proxy on the store.