var p3 =contentpane.getwidgetbyname("yzj");
p3.setenable(true);
子視窗關閉重新整理父頁面
window.onunload = function()
怎樣讓選中下拉框的值就可以聯動而不用點查詢按鈕了。
_g().parametercommit();
重新整理sheet
contentpane.refreshallsheets();
$("#r-9-0").toggle();
--------------------------------------
contentpane.curlgp.selecttdcell('b5');
var mc = contentpane.curlgp.getcellvalue('b' + row);
contentpane.curlgp.setcellvalue('d' + row, null, dw);
var gg = this.getvalue(); //獲取地區
var dl = contentpane.curlgp.getcellvalue("b" + row);
var pm = contentpane.curlgp.getcellvalue("c" + row);
settimeout(function() , 200);
//alert(a);
var num= a.replace(/[^0-9]/ig,"");
var location = this.options.location; //獲取當前控制項的位置
var cr = fr.cellstr2columnrow(location);
var col = cr.col; //列號
var ro = cr.row; //行號
contentpane.setcellvalue(1,ro,num);//此處1位b1的列號,預設從0開始
contentpane.writereport();
var a = this.getvalue();
var b = this.options.location; //獲取當前單元格
contentpane.gotopage(1);
var obj1 = fr.cellstr2columnrow(b); // 將單元格轉換為行列
var c = obj1.col; // 獲得行列號。
var d = obj1.row;
if (a.length < 1)
,20);
},20)
控制項.setenable(true/false);
var p3 =contentpane.getwidgetbyname("yzj");
var p2 =contentpane.getwidgetbyname("jjx");
p3.setenable(true);
p2.setenable(true);
var a = this.getvalue();
contentpane.setcellvalue("a1", null, a);
var dw="a,b,c"
if (dw.indexof(a)==-1 )
;if (a.indexof("b")!=-1 )
contentpane.currentsessionid
var i=7;
var m;
alert(1);
while(i<20)
i++;
刪除表contentpane.curlgp.getcellvalue(1, 0);
//獲取文字框控制項所在單元格的值
var yea=contentpane.curlgp.getcellvalue("c1");
var mon=contentpane.curlgp.getcellvalue("e1");
var tmp =string.format("sql('hr', 'delete from hr.food where yea = and mon = ',1)",yea, mon);
var a = fr.remoteevaluate(tmp);
if(a == 0)else
var sql = "sql(\"shk_gt3\",\"delete from md_group_mx where jtmc like \'%(集團)%\'\",1)";
alert(sql);
var a = fr.remoteevaluate(sql);
if (a == 0) else
插入表sql = string.format("sql(\"shk_gt3\",\"insert into md_group_mx select , djxh, from md_yaoyuehui_nsrsbh b, dj_nsrxx d where nvl(shxydm, d.nsrsbh) = b.nsrsbh \",1)", "\'(集團)\'", "\'y\'");
alert(sql);
a = fr.remoteevaluate(sql);
if (a == 0) else
全部摺疊-展開
var t = 3;
for(var m = 1; m <= t; m++)
for(var n = 1; n <= 2; n++)
var t = 3;
for(var m = 1; m <= t; m++)
for(var n = 1; n<= 2; n++)
20190708 帆軟報表
今天聽同事分享了一下帆軟報表 主要講解的是如何配置資料庫鏈結 sql 語句編寫的地方,報表頁面設計,圖表樣式的配置等等,細節方面沒有過多了解,大體結構跟ssrs相同 開發結果為報表檔案 環境搭建有所不同 在windows環境中安裝 2.需要tomcate 3.需要報表伺服器的配置資料庫 ssrs使用...
eclipse中使用帆軟報表
網上大部分教程都是講如何在tomcat中使用帆軟報表 在eclipse中其實會遇到問題,不能像tomcat那樣配置一樣 下面給出乙個例子來解釋如何在eclipse中使用帆軟報表 方法一 開啟webcontent下的web inf下的web.xml,沒有的話新建乙個,新增網上的那種 reportser...
帆軟報表(finereport) 摺疊樹
在進行展現資料時,希望模板的資料是可以動態摺疊的,即點選資料前面的加號才展開對應下面的資料,可通過樹節點按鈕實現摺疊樹效果 實現思路 1.這裡建立乙個內建資料集 新增資料 設定模板樣式,新增顏色和對其格式便於區分 為a2設定控制項 按鈕控制項 按鈕型別 樹節點按鈕 為a3設定控制項 按鈕控制項 按鈕...