1
다음 코드가 있지만 작동하지 않습니다. callback
은 절대 실행되지 않으며로드 수신기도 실행되지 않습니다.ExtJs 스토어에서 콜백이 실행되지 않습니다.
var someDS = new Ext.data.Store({
proxy : new Ext.data.HttpProxy({url : 'someUrl', method : 'GET'}),
reader: new Ext.data.JsonReader({} ['aaa', 'bbb', 'ccc']),
callback : function(options, success, response) {
alert(response);
// some code
},
listeners: {
load : function() {
alert("load");
// some code
}
}
});