본문 바로가기

NICE/X-Platform

/* 체크박스에 체크한 왼쪽 DataSet에서 오른쪽 DataSet으로 이동. */ /* 체크박스에 체크한 왼쪽 DataSet에서 오른쪽 DataSet으로 이동. */ function lfn_gridMultiCheckedRow(dsLeft, dsRight, strColNm) { var nCnt = dsLeft.getRowCount(); for (var i=nCnt-1;i>=0;i--) { if ( dsLeft.getColumn(i, "_chk") == 1){ var strFindKey = dsLeft.getColumn(i,strColNm); // 데이타 중복이 아닌경우 if (dsRight.findRow(strColNm, strFindKey) == -1) { // 왼쪽 리스트에 선택한 값을 오른쪽 리스트로 이동 var nRow = dsRight.addRow(); dsRight.copyR.. 더보기
x-platform 유용한 스크립트 //------------------------------------------------------------------ //마이플렛폼 스크립트 공백일때 0 처리 //------------------------------------------------------------------ isNil(absncDiseDds) ? "0" : absncDiseDds //------------------------------------------------------------------ // grd_cnsgnStdntAtteList02_ontextchange() : 그리드 날짜 범위체크 //------------------------------------------------------------------ f.. 더보기
체크박스 처리 if(e.columnid == "_chk") return; ds_cnsgnStdntAtteList02.setColumn(ds_cnsgnStdntAtteList02.rowposition,"_chk","1"); // var rowChk = ds_cnsgnStdntAtteList02.getColumn(ds_cnsgnStdntAtteList02.rowposition, "_chk"); // var colChk = grd_cnsgnStdntAtteList02.getCellPos(); // // if (rowChk == 1 && colChk == 0) { // if (colChk != 0) { // ds_cnsgnStdntAtteList02.setColumn(ds_cnsgnStdntAtteList02.rowposit.. 더보기
XPlatform 교육 더보기