摘要: //创建window var win = Ext.create("Ext.window.Window", { id: "myWin", title: "示例窗口", width: 500, height: 300, layout: "fit", items: [ { xtype: "form", d 阅读全文
posted @ 2017-12-24 18:40 一轮明月随潮涌 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 如下: { xtype:'button', text:'学生档案', iconCls:'file', handler:function(){ console.log(222) }, }, {xtype:'tbseparator'}, { xtype:'button', text:'导出Excel', 阅读全文
posted @ 2017-12-24 15:02 一轮明月随潮涌 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 如何在按钮中加icon: 1、在Extjs中 { xtype:'button', text:'学生档案', iconCls:'file', }, 2、在css中写: .file{ background image: url(‘./img/book_key.png.png‘)!important; } 阅读全文
posted @ 2017-12-24 15:00 一轮明月随潮涌 阅读(2127) 评论(0) 推荐(0) 编辑