Ext template 的使用 Ext.define('app.view.MyDataView', { extend: 'Ext.panel.Panel', xtype: 'myDataView', border:true, scrollable:true, cls:'my-data-view', minHeight:200, maxHeight:400, initComponent: function() { var me = this; this.tpl = app.templates.m…