Ext.define('app.view.module.ModuleController', {
extend : 'Ext.app.ViewController',
alias : 'controller.module',
deleteRecords : function(button) {
var grid = this.getView().down('modulegrid');
//这个类继承Ext.app.ViewController , ViewController getView()返回的是Ext.Component
//可是Component这个类在api文档查不到down()方法吖,难道我理解错了,
//请大神帮忙回答,感激不尽
//省略N行
}
}