FineReport——获取控件值和单元格值

设置单元格的值(填报预览):

//contentPane.setCellValue(1,0,"abc");
contentPane.curLGP.setCellValue(1, 0, "abc")

获取单元格的值(填报预览):

//contentPane.getCellValue(1,0);
contentPane.curLGP.getCellValue(1, 0)

获取父模板:

var form = window.parent.form; 

获取/设置制定参数控件的值:

var pva=form.getWidgetByName("p2").getValue();
//this.options.form.getWidgetByName("p1").getValue();
form.getWidgetByName("p2").setValue(pva);

 

文章来自:http://www.cnblogs.com/ytwy/p/4864329.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3