I need to abort a EXT JS store load (which is a grid panel store using an ajax call).
I am using Ext JS 3.4
I have tried the following.
Ext.Ajax.abort(store.proxy.activeRequest);
delete store.proxy.activeRequest;
I need to abort a EXT JS store load (which is a grid panel store using an ajax call).
I am using Ext JS 3.4
I have tried the following.
Ext.Ajax.abort(store.proxy.activeRequest);
delete store.proxy.activeRequest;
This can be solved by giving a condition,
var activeRequest = store.proxy.activeRequest;
if (typeof activeRequest.read != 'undefined')
{
Ext.Ajax.abort(activeRequest.read);
}