오즈
동적 로우 테두리 설정
This.SetLeftBorderThickness(2);
var idx = This.GetDataSetRowIndex();
var cnt = This.GetDataSetCNT();
if(idx == cnt){
This.SetBottomBorderThickness(2);
}
동적로우 더미풋터 반복 횟수 구하기
if(GetDataSetRowCount("SQL_Ship_Cell_Stock")%12 != 0){
var repeat = 12-(GetDataSetRowCount("SQL_Ship_Cell_Stock")%12);
This.SetRepeatNumber(repeat);
} else if (GetDataSetRowCount("SQL_Ship_Cell_Stock")%12 == 0) {
This.SetRepeatNumber(0);
}
onBind
//날짜 데이터가 출력되었고 다음 로우에도 같은 데이터 출력시 공백으로 표시
//다른날짜인 경우 전역변수에 넣음
if(GetGlobal("wkil")!=This.GetDataSetValue("ds_BodyC.WKIL")){
SetGlobal("wkil",This.GetDataSetValue("ds_BodyC.WKIL"));
}else{
//처음로우 아니면서 위아래 날짜가 같은경우 표현하지 않음
if(GetGlobal("row")!=1){
This.SetText("");
}
}
반응형