-
22 Sep 2011 8:50 AM #1
addListener ??? fire immediately
addListener ??? fire immediately
I don't know what i do false.
I use Ext.app.Controller, in the init: part i write the following.
orPHP Code:this.getMYSTOREStore().addListener('load', alert('finish'), this);
But the alert function fire at the add moment!! not when executed MYSTORE.load()PHP Code:this.getMYSTOREStore().on('load', alert('finish'), this);
I used in the Store a proxy?!therefore??
What is wrong?


Reply With Quote