Extjs中TabPane如何嵌套在其他网页中实现思路及代码
发布时间:2016-12-30 来源:查字典编辑
摘要:复制代码代码如下:vartabPanel=newExt.TabPanel({activeTab:0,region:'center',layo...
复制代码 代码如下:
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>'
}
]
});
图片