摘要: Ext.onReady(function(){ //Ext.define 其他配置项 //static,inhertableSatcics(子类可以继承) /** Ext.define('Person',{ config:{ name:'我是父亲' }, ... 阅读全文
posted @ 2016-08-29 17:35 sailor4518 阅读(236) 评论(0) 推荐(0)
摘要: 在Ext中如何定义一个类 Ext.define(className,properties,callback) 实例化一个对象,通过Ext.create (Ext推荐实例化方法) 阅读全文
posted @ 2016-08-29 13:39 sailor4518 阅读(468) 评论(0) 推荐(0)
摘要: Ext.onReady(function(){ //用windowGroup对象去操作多个window窗口 var wingroup = new Ext.WindowGroup(); for (var i = 1; i < 6; i++) { var win = Ext.create('Ext.Window',{ title:'第'+i+'个窗口', id:'win_'+i... 阅读全文
posted @ 2016-08-29 10:16 sailor4518 阅读(1476) 评论(0) 推荐(0)