帆软报表(finereport)点击事件对话框打开

时间:2019-07-22 13:07:45   收藏:0   阅读:446

点击事件对话框打开iframe

var iframe = $("<iframe id=‘001‘ name=‘001‘ width=‘100%‘ height=‘100%‘ scrolling=‘yes‘ frameborder=‘0‘>") // iframe参数的命名及宽高等
iframe.attr("src", "http://192.168.100.17:8075/WebReport/ReportServer?reportlet=1.cpt") //1.cpt为点击查询时,对话框中显示的子报表
var o = {
title : "iframe测试",
width : 600,
height: 300
}
FR.showDialog(o.title, o.width, o.height, iframe,o) //弹出对话框

原文:https://www.cnblogs.com/Williamls/p/11224840.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!