帆软

文档

  • 填报预览JS实例-http://help.finereport.com/finereport9.0/doc-view-1193.html
  • 参数界面JS实例-http://help.finereport.com/doc-view-1192.html
  • 报表内置hsql数据库finedb-http://help.finereport.com/doc-view-1573.html
  • JS实现报表组件获取参数面板控件值-http://help.finereport.com/doc-view-2078.html

逻辑删除

contentPane.setCellValue("EP"+row,null,">]"); 
rowNum = row - 1;
$(".rows-height-counter #r-"+rowNum+"-0").height(0);
$(".rows-height-counter #r-"+rowNum+"-0").hide();

获取单元格的值

contentPane.getCellValue(sheet号,列号,行号);  //sheet号行号列号是从0开始  
contentPane.curLGP.getCellValue(列号,行号);    
contentPane.curLGP.getCellValue(单元格);     
contentPane.curLGP._get$TDCell(col,row).text()//获取单元格显示值  
contentPane.curLGP._get$TDCell(单元格).text()

获取当前单元格行列号

contentPane.setCellValue(sheet号,列号,行号,值); //sheet号行号列号是从0开始  
contentPane.curLGP.setCellValue(列号,行号,值);//给单元格赋显示值,非实际值,不能提交入库     
contentPane.curLGP.setCellValue(单元格,null,值);//给单元格赋显示值,非实际值,不能提交入库  
contentPane.setCellValue(列号,行号,值);//给单元格赋实际值,可以提交入库  
contentPane.setCellValue(单元格,null,值);//给单元格赋实际值,可以提交入库  

猜你喜欢

转载自blog.csdn.net/qq_34462698/article/details/108398324