evento de metacambio no se dispara
Tengo una tienda, que se parece a esto: Ext.define(‘GridGeneral.store.GridGeneralStore’,{ extend:’Ext.data.Store’, model:’GridGeneral.model.GridGeneralModel’, autoLoad:true, proxy:{ type:’ajax’, url:’/api/grid/gridgeneralstore.php’, reader:{ type:’json’ } } }); Dentro de un controlador quiero disparar el evento ‘metachange’. Intento hacerlo así: init:function(){ Ext.getStore(‘GridGeneralStore’).addListener(‘metachange’,this.metaChanged, this); //^^^not fired Ext.getStore(‘GridGeneralStore’).addListener(‘load’,this.loaded, this); //^^^ this is ok }, metaChanged:function(store, meta){ console.log(‘metaChanged’); // see nothing in the colsole }, loaded:function(){ […]