Tag: Sencha

  • Reference a Model from a Store in ExtJS using alias

    In this below Model, how to Reference a Model from a Store in ExtJS using alias? Ext.define('MyAPP.model.myMod', { extend : 'Ext.data.Model', alias : 'model.myMod', }); And a store: Ext.define('MyAPP.store.MyStore', { extend : 'Ext.data.Store', model : 'MyAPP.model.myMod', }); Actually, We cannot reference the model on the store using the alias. In general, we must use full…

  • Sencha ajax call and store load canceled after 30 seconds

    The topic discussion is on stackoverflow too old but FYI who want to do the quicky trick. The default of Ajax call in Sencha is 30000 milliseconds (30 seconds) So, you have to set a config to the default behavior in the Ext.data.proxy.Ajax, for example, 60s, like: Ext.define('Core.data.proxy.WrapperAjax',{ extend: 'Ext.data.proxy.Ajax', alias: 'proxy.wrapperAjax', config: { timeout:…