Extjs中TabPane如何嵌套在其他网页中实现思路及代码
程序员文章站
2022-03-07 11:20:24
复制代码 代码如下: var tabpanel = new ext.tabpanel({ activetab: 0, region:'center', layoutonta...
复制代码 代码如下:
var tabpanel = new ext.tabpanel({
activetab: 0,
region:'center',
layoutontabchange : false,
deferredrender: true,
items:[
{
title: '百度',
layout: 'fit',
height: 375,
id: 'training_grief_rep_tab_4',
border: false,
deferredrender: false,
//items : new trainingbriefsummaryitem({sunmmaryid: tariningid}),
autoscroll : true,
html:' <iframe scrolling="auto" frameborder="0" width="100%" height="100%" src="'+'http://www.baidu.com'+'"> </iframe>'
}
]
});
图片