Home >Web Front-end >JS Tutorial >ExtJs uses IFrame implementation code_extjs

ExtJs uses IFrame implementation code_extjs

WBOY
WBOYOriginal
2016-05-16 18:31:291183browse
Environment:
Microsoft Visual Studio 2008 Sp1
Asp.net MVC
ExtJs 3.1.1
Using IFrame requires an ExtJS plug-in ManagedIFrame (miframe .js), with this plug-in you can use xtype:'iframepanel' to download the
code snippet:
Copy the code The code is as follows :

var p_center = new Ext.TabPanel({
region: "center",
resizeTabs: true, // turn on tab resizing
minTabWidth: 115,
tabWidth: 135,
enableTabScroll: true,
width: 600,
activeTab: 0,
height: 250,
items:[{
xtype: 'iframepanel',
title:'System Capacity Allocation',
id:"form_chapteradmin",
loadMask:{msg:'Loading Quote...'},
deferredRender: false,
//bodyStyle:'padding:10px',
frameConfig:{name:'chatperadminForm'},
border:false,
//frame:true,
defaultSrc: ' http://mhl-pc/ReportServer?%List&rs:Command=Render:toolbar=false'
}],
defaults: { autoScroll: true }
});


Picture:
Snap1
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn