extjsextjs4storeextjs-stores

Store load canceled after 30 seconds


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
    });

Solution

  • See here: http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.Ajax

    Ext.Ajax.timeout = 60000;