I have a tree panel which uses an ajax store. When the server fetches results for a node, it's usually not instantaneous (takes a few seconds).
I have another grid control which reloads the root node (depending on different parameters)
This may cause weird behavior when a request is sent before the previous one is completed:
- A user selects something on the grid, which causes the tree to send a request
- Before the previous request is complete the user changes something which causes a new request to be sent
- The tree starts to have problems when expanding nodes after both requests are complete
Is there a way for me to abort all pending requests sent by the tree store before reloading the tree?
Thanks in advance for your help! Amitay.
P.S - ExtJS version 4.1.1