extjs动态显示图片

来源:互联网 发布:飞升化身诀数据 编辑:程序博客网 时间:2024/05/16 11:07

转自:http://blog.csdn.net/windxxf/article/details/5798683

xtype: 'box', //或者xtype: 'component',  width: 132,  id: 'imagebox',  name: 'imagebox',  height: 136,    autoEl: {     tag: 'img',    //指定为img标签         src: 'images/slogo.gif'    //指定url路径      }  Ext.getCmp("imagebox").getEl().dom.src = newsrc;  
0 0
原创粉丝点击