var datagrid; var SBGridProperties = {}; var arrData = [ {"time":"1200","academy":"청량도우리이발기술학원","addr":"서울특별시 동대문구 왕산로33길 32 , 2층 (제기동)","name":"박영배","phone":"01012345678","curriculum":"beauty","class":"이발기술","maxstudent":"20","term":"1개월 0일","startday":"20170331","totalminute":"3780","pay":"300000","teacher":"1"}, {"time":"1200","academy":"대성회계실무학원","addr":"서울특별시 동대문구 왕산로 225 , 5층2호, 5층6호 (청량리동)","name":"대성회계실무학원(주)","phone":"01012345678","curriculum":"synthesize","class":"전산회계1급","maxstudent":"17","term":"1개월 0일","startday":"20170331","totalminute":"4140","pay":"440920","teacher":"5"}, {"time":"1200","academy":"대성회계실무학원","addr":"서울특별시 동대문구 왕산로 225 , 5층2호, 5층6호 (청량리동)","name":"대성회계실무학원(주)","phone":"01012345678","curriculum":"synthesize","class":"ITQ실무(한글, 엑셀, 파워포인트)","maxstudent":"13","term":"1개월 0일","startday":"20170331","totalminute":"6000","pay":"557900","teacher":"5"}, {"time":"1200","academy":"국제전자과학학원","addr":"서울특별시동대문구 고산자로36길3 3층일부(제기동)","name":"김병규이종운","phone":"01012345678","curriculum":"electron","class":"기사","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"2260","pay":"180000","teacher":"1"}, {"time":"1200","academy":"영란피아노음악학원","addr":"서울특별시 동대문구 이문로 70 (이문동)","name":"김증란","phone":"01012345678","curriculum":"music","class":"피아노","maxstudent":"45","term":"1개월 0일","startday":"20170331","totalminute":"1260","pay":"90000","teacher":"2"}, {"time":"1200","academy":"한독자동차정비학원","addr":"서울특별시 동대문구 왕산로 31 , 2층,3층 (신설동)","name":"(주)메니지먼트코리아","phone":"01012345678","curriculum":"car","class":"자동차정비(6주과정)","maxstudent":"30","term":"1개월 0일","startday":"20170331","totalminute":"10800","pay":"650000","teacher":"7"}, {"time":"1200","academy":"수도간호조무사학원","addr":"서울특별시 동대문구 왕산로 225 , 511호 (청량리동)","name":"임병호","phone":"01012345678","curriculum":"nurse","class":"간호조무사","maxstudent":"30","term":"1개월 0일","startday":"20170331","totalminute":"7560","pay":"200000","teacher":"6"}, {"time":"1200","academy":"예맥보습학원","addr":"서울특별시 중랑구 동일로151길 30 2층3층 (묵동)","name":"조소정","phone":"01012345678","curriculum":"supplementary","class":"초등(국,영,수)","maxstudent":"3","term":"1개월 0일","startday":"20170331","totalminute":"3150","pay":"155000","teacher":"2"}, {"time":"1200","academy":"세진보습학원","addr":"서울특별시 중랑구 공릉로 58 2층4층일부 (묵동)","name":"이슬기","phone":"01012345678","curriculum":"supplementary","class":"초등단과(수학)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1050","pay":"150000","teacher":"5"}, {"time":"1200","academy":"금파음악학원","addr":"서울특별시 중랑구 동일로101길 52 2층 (면목동)","name":"김명신","phone":"01012345678","curriculum":"music","class":"바이엘(초급)","maxstudent":"9","term":"1개월 0일","startday":"20170331","totalminute":"1050","pay":"100000","teacher":"1"}, {"time":"1200","academy":"금파음악학원","addr":"서울특별시 중랑구 동일로101길 52 2층 (면목동)","name":"김명신","phone":"01012345678","curriculum":"music","class":"플릇(중급)","maxstudent":"9","term":"1개월 0일","startday":"20180331","totalminute":"336","pay":"60000","teacher":"1"}, {"time":"1200","academy":"푸른미술학원","addr":"서울특별시 동대문구 제기로 86 3층일부(청량리동)","name":"백은희","phone":"01012345678","curriculum":"art","class":"초급미술","maxstudent":"6","term":"1개월 0일","startday":"20180331","totalminute":"1134","pay":"100000","teacher":"2"}, {"time":"1200","academy":"대찬학원","addr":"서울특별시 동대문구 전농로 120 , 3층 (전농동)","name":"(주)미래인재교육","phone":"01012345678","curriculum":"supplementary","class":"초등수학","maxstudent":"12","term":"1개월 0일","startday":"20170331","totalminute":"1512","pay":"220000","teacher":"9"}, {"time":"1200","academy":"장안로드맵수학학원","addr":"서울특별시 동대문구 한천로 124 , 2층 202호 (장안동)","name":"이기영","phone":"01012345678","curriculum":"supplementary","class":"초등수학","maxstudent":"14","term":"1개월 0일","startday":"20170331","totalminute":"1512","pay":"200000","teacher":"4"}, {"time":"1200","academy":"수학엠플러스학원","addr":"서울특별시 동대문구 한천로 165 3층 (답십리동)","name":"손해숙","phone":"01012345678","curriculum":"supplementary","class":"초등종합","maxstudent":"47","term":"1개월 0일","startday":"20170331","totalminute":"3150","pay":"320000","teacher":"4"}, {"time":"1200","academy":"해법영어배봉학원","addr":"서울특별시 동대문구 사가정로 191 전농우성아파트 상가4층7,8,9호 (전농동)","name":"박은정","phone":"01012345678","curriculum":"supplementary","class":"초등일반수학","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1260","pay":"160000","teacher":"2"}, {"time":"1200","academy":"동부교연보습학원","addr":"서울특별시 동대문구 천호대로16길 12 3층4층 (용두동)","name":"노희진이재민","phone":"01012345678","curriculum":"supplementary","class":"초등 1,2종합(국,영,수)","maxstudent":"8","term":"1개월 0일","startday":"20170331","totalminute":"1890","pay":"300000","teacher":"9"}, {"time":"1200","academy":"필립학원","addr":"서울특별시 중랑구 동일로129길 54 2층 (중화동)","name":"김대용","phone":"01012345678","curriculum":"supplementary","class":"초등단과","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"945","pay":"140000","teacher":"4"}, {"time":"1200","academy":"대성회계실무학원","addr":"서울특별시 동대문구 왕산로 225 , 5층2호, 5층6호 (청량리동)","name":"대성회계실무학원(주)","phone":"01012345678","curriculum":"synthesize","class":"ERP물류생산및전산세무회계실무","maxstudent":"20","term":"1개월 0일","startday":"20170331","totalminute":"33000","pay":"3300000","teacher":"5"}, {"time":"1200","academy":"필립학원","addr":"서울특별시 중랑구 동일로129길 54 2층 (중화동)","name":"김대용","phone":"01012345678","curriculum":"supplementary","class":"초등연합","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"2100","pay":"300000","teacher":"4"}, {"time":"1200","academy":"예원플러스학원","addr":"서울특별시 중랑구 상봉중앙로8길 44 , B동 2층 (상봉동)","name":"현경수","phone":"01012345678","curriculum":"supplementary","class":"초등보완학습(국,영,수,사,과)","maxstudent":"10","term":"1개월 0일","startday":"20180331","totalminute":"2940","pay":"320000","teacher":"2"}, {"time":"1200","academy":"예원플러스학원","addr":"서울특별시 중랑구 상봉중앙로8길 44 , B동 2층 (상봉동)","name":"현경수","phone":"01012345678","curriculum":"supplementary","class":"중등보완학습(영,수)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"3150","pay":"380000","teacher":"2"}, {"time":"1200","academy":"주미음악학원","addr":"서울특별시 동대문구 장한로30길 31 3층 (장안동)","name":"장미림","phone":"01012345678","curriculum":"music","class":"음악초급 바이엘","maxstudent":"15","term":"1개월 0일","startday":"20171231","totalminute":"1155","pay":"130000","teacher":"3"}, {"time":"1200","academy":"주미음악학원","addr":"서울특별시 동대문구 장한로30길 31 3층 (장안동)","name":"장미림","phone":"01012345678","curriculum":"music","class":"음악중급-1 체르니100","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1050","pay":"140000","teacher":"3"}, {"time":"1200","academy":"주미음악학원","addr":"서울특별시 동대문구 장한로30길 31 3층 (장안동)","name":"장미림","phone":"01012345678","curriculum":"music","class":"음악중급-2 체르니30","maxstudent":"5","term":"1개월 0일","startday":"20170331","totalminute":"1050","pay":"150000","teacher":"3"}, {"time":"1200","academy":"새암음악학원","addr":"서울특별시 동대문구 답십리로72길 118 5층 (장안동)","name":"이선선","phone":"01012345678","curriculum":"music","class":"음악초급(바이엘)","maxstudent":"49","term":"1개월 0일","startday":"20170331","totalminute":"1260","pay":"120000","teacher":"3"}, {"time":"1200","academy":"고려기계용접기술학원","addr":"서울특별시 동대문구 하정로5길 1 3층.4층 (신설동)","name":"문난희","phone":"01012345678","curriculum":"machine","class":"공조냉동기계(필기)","maxstudent":"30","term":"1개월 0일","startday":"20170331","totalminute":"2520","pay":"800000","teacher":"4"}, {"time":"1200","academy":"대우건축토목학원","addr":"서울특별시 동대문구 하정로 36 , 5층 (신설동)","name":"박기용","phone":"01012345678","curriculum":"synthesize","class":"건축사자격문제풀이반","maxstudent":"30","term":"1개월 0일","startday":"20170331","totalminute":"1512","pay":"690000","teacher":"11"}, {"time":"1200","academy":"대우건축토목학원","addr":"서울특별시 동대문구 하정로 36 , 5층 (신설동)","name":"박기용","phone":"01012345678","curriculum":"synthesize","class":"건축사자격모의고사반","maxstudent":"30","term":"1개월 0일","startday":"20170331","totalminute":"1512","pay":"560000","teacher":"11"}, {"time":"1200","academy":"큰샘학원","addr":"서울특별시 중랑구 겸재로49길 53 2층(면목본동)","name":"김순희","phone":"01012345678","curriculum":"supplementary","class":"중등수학","maxstudent":"17","term":"1개월 0일","startday":"20170331","totalminute":"1,890","pay":"150000","teacher":"2"}, {"time":"1200","academy":"엠아이티아카데미학원","addr":"서울특별시 중랑구 봉우재로71길 34 (2층,3층) (망우동)","name":"이강철","phone":"01012345678","curriculum":"supplementary","class":"초등(국,영,수)","maxstudent":"15","term":"1개월 0일","startday":"20170331","totalminute":"2100","pay":"195000","teacher":"3"}, {"time":"1200","academy":"동서보습학원","addr":"서울특별시 중랑구 상봉중앙로 51 2층(상봉동)","name":"박용순","phone":"01012345678","curriculum":"supplementary","class":"초등단과(국,영,수.사,과)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1008","pay":"160000","teacher":"5"}, {"time":"1200","academy":"정실보습학원","addr":"서울특별시 중랑구 봉화산로21길 14-7 , 3층 일부 (중화동, 정실유치원)","name":"이종립","phone":"01012345678","curriculum":"supplementary","class":"연합(4과목)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"2520","pay":"198800","teacher":"1"}, {"time":"1200","academy":"칸타빌레음악학원","addr":"서울특별시 중랑구 용마산로 478 , 3층일부 (망우동,영명빌딩)","name":"윤지영","phone":"01012345678","curriculum":"music","class":"피아노중급I","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1050","pay":"110000","teacher":"2"}, {"time":"1200","academy":"새한음악학원","addr":"서울특별시 중랑구 면목로27길 6 , 2층 (면목동,대진빌딩)","name":"임필례","phone":"01012345678","curriculum":"music","class":"체르니30(중)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1260","pay":"130000","teacher":"2"}, {"time":"1200","academy":"수재학원","addr":"서울특별시 동대문구 답십리로 133 , 1층, 2층 (답십리동)","name":"오정순","phone":"01012345678","curriculum":"supplementary","class":"중등수학,영어1","maxstudent":"20","term":"1개월 0일","startday":"20170331","totalminute":"1512","pay":"240000","teacher":"7"}, {"time":"1200","academy":"서림보습미술학원","addr":"서울특별시 중랑구 면목로57길 35 , 1층,2층 (면목동,보령빌딩)","name":"조경애","phone":"01012345678","curriculum":"synthesize","class":"중등종합1(국영수)","maxstudent":"20","term":"1개월 0일","startday":"20170331","totalminute":"2016","pay":"370000","teacher":"10"}, {"time":"1200","academy":"대명음악학원","addr":"서울특별시 중랑구 봉화산로56길 153 대명프라자401호 (신내동)","name":"윤미애","phone":"01012345678","curriculum":"music","class":"피아노(고급)","maxstudent":"11","term":"1개월 0일","startday":"20170922","totalminute":"1260","pay":"150000","teacher":"6"}, {"time":"1200","academy":"수도학원","addr":"서울특별시 중랑구 용마산로 381 , 2층일부,3층일부 (면목동,명진빌딩)","name":"고인보","phone":"01012345678","curriculum":"synthesize","class":"초등(국,영,수,과)","maxstudent":"15","term":"1개월 0일","startday":"20170331","totalminute":"2835","pay":"270000","teacher":"4"}, {"time":"1200","academy":"면일보습학원","addr":"서울특별시 중랑구 용마산로94길 47 2층) (면목동)","name":"구인숙","phone":"01012345678","curriculum":"supplementary","class":"초등5과목연합","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"2100","pay":"231000","teacher":"2"}, {"time":"1200","academy":"정상보습학원","addr":"서울특별시 중랑구 면목로48길 65 , 2,3층 (면목동, 경상빌딩)","name":"황성수","phone":"01012345678","curriculum":"supplementary","class":"고등단과(국어)","maxstudent":"8","term":"1개월 0일","startday":"20170331","totalminute":"504","pay":"100000","teacher":"9"}, {"time":"1200","academy":"정상보습학원","addr":"서울특별시 중랑구 면목로48길 65 , 2,3층 (면목동, 경상빌딩)","name":"황성수","phone":"01012345678","curriculum":"supplementary","class":"고등연합(국,영,수)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"3024","pay":"490000","teacher":"9"}, {"time":"1200","academy":"표준보습학원","addr":"서울특별시 동대문구 제기로38길 50 (4층) (청량리동)","name":"정미라최인숙","phone":"01012345678","curriculum":"supplementary","class":"고등단과(국,영,수,주3일))","maxstudent":"6","term":"1개월 0일","startday":"20170331","totalminute":"1134","pay":"200000","teacher":"3"}, {"time":"1200","academy":"소나타음악학원","addr":"서울특별시 중랑구 동일로163길 37 2층 (묵동)","name":"한선경","phone":"01012345678","curriculum":"music","class":"피아노(바이엘)","maxstudent":"6","term":"1개월 0일","startday":"20170331","totalminute":"1260","pay":"110000","teacher":"1"}, {"time":"1200","academy":"이문보습학원","addr":"서울특별시 동대문구 한천로 481 , 2층 (이문동)","name":"이현춘","phone":"01012345678","curriculum":"supplementary","class":"중등단과(영어)","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"1134","pay":"170000","teacher":"6"}, {"time":"1200","academy":"한미제과제빵커피학원","addr":"서울특별시 동대문구 왕산로 249-1 2층3층4층5층 (청량리동)","name":"김영선","phone":"01012345678","curriculum":"beverage","class":"제과제빵","maxstudent":"20","term":"1개월 0일","startday":"20170331","totalminute":"3024","pay":"400000","teacher":"10"}, {"time":"1200","academy":"교우보습학원","addr":"서울특별시 동대문구 사가정로 93 , 3층일부 (전농동,동광교회)","name":"고희권","phone":"01012345678","curriculum":"supplementary","class":"고2,3 종합","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"2520","pay":"420000","teacher":"5"}, {"time":"1200","academy":"교우보습학원","addr":"서울특별시 동대문구 사가정로 93 , 3층일부 (전농동,동광교회)","name":"고희권","phone":"01012345678","curriculum":"supplementary","class":"고등2,3 이과 종합","maxstudent":"10","term":"1개월 0일","startday":"20180331","totalminute":"3024","pay":"470000","teacher":"5"}, {"time":"1200","academy":"대성독서실","addr":"서울특별시 중랑구 중랑역로 79 (4층) (중화동)","name":"김은희","phone":"01012345678","curriculum":"library","class":"고등학생","maxstudent":"10","term":"1개월 0일","startday":"20170331","totalminute":"20160","pay":"122000","teacher":"6"}, {"time":"1200","academy":"대명음악학원","addr":"서울특별시 중랑구 봉화산로56길 153 대명프라자401호 (신내동)","name":"윤미애","phone":"01012345678","curriculum":"music","class":"피아노(고급)","maxstudent":"11","term":"1개월 0일","startday":"20170922","totalminute":"1260","pay":"150000","teacher":"6"} ]; function createGrid(){ SBGridProperties.parentid = 'SBGridArea'; SBGridProperties.id = 'datagrid'; SBGridProperties.jsonref = 'arrData'; SBGridProperties.rowheader =['seq']; SBGridProperties.selectmode = 'byrows'; SBGridProperties.rowctrlupdown = true; SBGridProperties.columns = [ {caption : ['학원명'], ref : 'academy', width : '150px', style : 'text-align:center', type : 'output'}, {caption : ['설립자(성명)'], ref : 'name', width : '150px', style : 'text-align:center', type : 'input'}, {caption : ['전화번호'], ref : 'phone', width : '120px', style : 'text-align:center', type : 'input'}, {caption : ['학원주소'], ref : 'addr', width : '450px', style : 'text-align:center', type : 'textarea'}, {caption : ['교습과목(반)'], ref : 'class', width : '200px', style : 'text-align:center', type : 'input'}, {caption : ['정원'], ref : 'maxstudent', width : '70px', style : 'text-align:center', type : 'input', format : {type:'string', rule:'@ "명"'}}, {caption : ['교습기간'], ref : 'term', width : '100px', style : 'text-align:center', type : 'input'}, {caption : ['교육시작일'], ref : 'startday', width : '100px', style : 'text-align:center', type : 'datepicker', typeinfo : {locale : 'ko' , dateformat :'yymmdd'}, format : {type:'date', rule:'yyyy-mm-dd', origin : 'yyyymmdd' }}, {caption : ['총교습시간(분)'], ref : 'totalminute', width : '100px', style : 'text-align:center', type : 'input'}, {caption : ['교습비'], ref : 'pay', width : '100px', style : 'text-align:center', type : 'input', format : {type:'number', rule:'#,###'}}, {caption : ['강사수'], ref : 'teacher', width : '70px', style : 'text-align:center', type : 'input'} ]; datagrid = _SBGrid.create(SBGridProperties); };