0
点赞
收藏
分享

微信扫一扫

extjs 动态 html属性的值

求阙者 2023-03-27 阅读 70

var p = new Ext.Panel({
     title: 'My Panel',
     collapsible:true,
     width:400,
     id:’panel1’,
     html:'<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="PagingGrid.jsp"></iframe>'
     });

方法:

Ext.getCmp(‘panel1’).body.update( '<iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="PagingGrid11.jsp "></iframe>');


举报

相关推荐

0 条评论