标签:文件 text height Window html pdf extjs4 800 true
buttons: [{
text :'OPEN DOCUMENT',
formBind : true,
handler:function() {
new Ext.window.Window({
title: 'Document',
height: 800,
width: 800,
layout: 'fit',
items: [{
html: '<iframe src="..."></iframe>'
}]
});
}
}]
-------------------------------------------------- 网上找的一段代码,如果是动态的话,应该要获取到item下的html的值,然后赋值
var mConfig = { mediaType :'PDFFRAME', //this is the most reliable cross-browser url : 'servlet/PdfServlet?invoice=2319283', unsupportedText : 'Acrobat Viewer is not Installed', resizable : true
|
标签:文件,
text,
height,
Window,
html,
pdf,
extjs4,
800,
true
From: https://blog.51cto.com/u_16034393/6153275