2013-07-11

window.showModalDialog와 window.open사용방법

var arr = window.open("ReqMinwonSmpListPop.aspx?sinchungid=" + sinchungid, "", "Width=800px,Height=400px,scroll=no,status=no");
var arr = window.showModalDialog("/"ReqMinwonSmpListPop.aspx?sinchungid=" + sinchungid, "",  "", "dialogWidth:800px; dialogHeight:400px;scroll:no;status:no;center:1;");
자식창에서 는 이렇게 날리고 자식창 파람도 다르게 받는다.

스프레드 시트 MaxRows

스프레드 시트 사용시 50개의 행이상은 안된다는 제약걸때 MaxRows를 사용한다.    

   else if (ssSmp.MaxRows > 50 &&  $F("cmbReqType") >= 4 ) {
          alert("50개이상의 검체는 의뢰할 수 없습니다.");
          return false;
        }