Home > Web Front-end > JS Tutorial > body text

ExtJs uses IFrame implementation code_extjs

WBOY
Release: 2016-05-16 18:31:29
Original
1160 people have browsed it
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
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template