I've problem with store load. Extjs cancel load after 30 seconds. Is there some parameters or something else to increase store load time?
Here is example of store:
var store = Ext.create('Ext.data.Store', {
model : 'store_model',
proxy : {
type : 'ajax',
url : 'data/backend.php',
reader: {
type: 'json',
root: 'data'
},
writer: {
type: 'json'
}
},
autoLoad : true
});
See here: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.Ajax
Ext.Ajax.timeout = 60000;
This allows to change the timeout only for one store:
store.proxy.setTimeout(60000);
Tested in ExtJs 6.2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With