aa: function(){
alert("cc");
},
remove: function(grid, rowIndex, colIndex) {
var store = grid.getStore();
var rec = store.getAt(rowIndex);
var id = rec.get('id');
this.aa();
}
remove是一个按钮的事件,我想remove玩执行aa();不过报错提示不存在方法,
如果把aa放initComponent()里面是可以执行的,请问这是什么问题
就是Ext.grid.column.ActionView这么调用所在Panel里面定义的方法
就是要怎么掉用父亲的父亲面板的方法,怎么获取父亲的父亲