这不起作用:
Models.buttons.Del = Ext.extend(Ext.Button, {
,文本:'德尔'
,听众:{
加载:函数(){
},
,点击:函数(){
}
}
});
Models.buttons.Add = Ext.extend(Models.buttons.Del, {
,文本:'添加'
,听众:{
,点击:函数(){
}
}
});
load() 事件在 Add 对象中丢失。