var RowPivots = new Array();
var ColumnPivots = new Array();
RowPivots[0] = "";
ColumnPivots[0] = "";
var total = This.GetSummary("Sum", RowPivots, ColumnPivots);
This.SetText(total);
제조사 소계들의 합이 나온다.
var total = This.GetSummary("Max", RowPivots, ColumnPivots);
var RowPivots = new Array();
var ColumnPivots = new Array();
RowPivots [0] = "";
ColumnPivots[0] = "";
var total = This.GetSummary("Sum", RowPivots, ColumnPivots);
이렇게만 설정하면 아래와 같은 값 출력
col 은 해당 셀에가서 해야 먹힌다, 다음 셀로 넘어가지 않는다.
var totalRowPivots = new Array();
var totalColumnPivots = new Array();
totalRowPivots[0] = "";
totalColumnPivots[0] = "";
var total = This.GetSummary("Sum", totalRowPivots, totalColumnPivots);
//_TraceLn(total);
var sumRowPivots = new Array();
var sumColumnPivots = new Array();
_TraceLn(This.GetColPivot(0)); // 경기
_TraceLn(This.GetRowPivot(0)); // 기아자동차
//var total = This.GetSummary("Sum", sumRowPivots, sumColumnPivots);
//_TraceLn(total);
경기만 저장
var sumRowPivots = new Array();
var sumColumnPivots = new Array();
_TraceLn(This.GetColPivot(0)); // 경기
_TraceLn(This.GetRowPivot(0)); // 기아자동차
sumColoumPivots = (This.GetColPivot(0));
if(sumColoumPivots == "경기"){
This.SetText(sumColoumPivots);
}
//var total = This.GetSummary("Sum", sumRowPivots, sumColumnPivots);
//_TraceLn(total);
var RowPivots = new Array();
var ColumnPivots = new Array();
RowPivots[0] = "기아자동차";
RowPivots[1] = "엔터프라이즈";
ColumnPivots[0] = "경기";
var total = This.GetSummary("Sum", RowPivots(0), ColumnPivots(0));
_TraceLn(total);
This.SetText(total);
'ETC. > OZ' 카테고리의 다른 글
[OZ e-form] 입력 컴포넌트 (0) | 2018.05.23 |
---|---|
[OZ] 크로스탭, 고정테이블 (0) | 2018.05.19 |
[OZ] 6.6 리전 (0) | 2018.05.16 |
[OZ] 데이터 밴드와 관련 종속 밴드 (0) | 2018.05.15 |
[OZ] 그룹 라벨 (0) | 2018.05.15 |
댓글