123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO07300" position="absolute 0 0 1051 700" titletext="심정지 입력대상자 조회" oninit="SPMMO07300_oninit" onload="SPMMO07300_onload">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 89 1051 95" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Grid position="absolute 0 94 1051 700" id="datagrid2" binddataset="ds_rscpiptlist_rscpiptinfo" oncelldblclick="datagrid2_oncelldblclick" onkeydown="datagrid2_onkeydown" autoenter="select" oncloseup="datagrid2_oncloseup" oncellclick="datagrid2_oncellclick" onlbuttonup="datagrid2_onlbuttonup" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="29"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="58"/>
- <Column size="60"/>
- <Column size="55"/>
- <Column size="99"/>
- <Column size="66"/>
- <Column size="101"/>
- <Column size="150"/>
- <Column size="33"/>
- <Column size="64"/>
- <Column size="58"/>
- <Column size="66"/>
- <Column size="0"/>
- <Column size="56"/>
- <Column size="61"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1" text="indd"/>
- <Cell col="2" text="cretno"/>
- <Cell col="3" text="환자번호"/>
- <Cell col="4" text="환자명"/>
- <Cell col="5" text="내원일시"/>
- <Cell col="6" text="내원시간"/>
- <Cell col="7" text="조건구분"/>
- <Cell col="8" text="입력여부"/>
- <Cell col="9" text="입력불가사유"/>
- <Cell col="10" text="기타입력불가사유"/>
- <Cell col="11" text="기록"/>
- <Cell col="12" text="병원전"/>
- <Cell col="13" text="내원후"/>
- <Cell col="14" text="생존여부"/>
- <Cell col="15" text="formrecseq"/>
- <Cell col="16" text="입력상태"/>
- <Cell col="17" text="G/W전송"/>
- <Cell col="18" text="최종전송"/>
- <Cell col="19" text="genrdd"/>
- <Cell col="20" text="genrno"/>
- <Cell col="21" text="histno"/>
- <Cell col="22" text="rscpemcd"/>
- <Cell col="23" text="저장에러내용"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
- <Cell col="1" text="bind:indd"/>
- <Cell col="2" text="bind:cretno"/>
- <Cell col="3" text="bind:pid"/>
- <Cell col="4" text="bind:pathngnm"/>
- <Cell col="5" text="bind:chosdd"/>
- <Cell col="6" text="bind:chostm"/>
- <Cell col="7" text="bind:srchkind"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:rscprgyn" combodataset="ds_combo_rscprgyn" combocodecol="code" combodatacol="name"/>
- <Cell col="9" displaytype="combo" edittype="combo" text="bind:rscprgcd" combodataset="ds_combo_rscprgcd" combocodecol="code" combodatacol="name" combotype="dropdown"/>
- <Cell col="10" displaytype="text" edittype="text" text="bind:rscprgtt"/>
- <Cell col="11" text="bind:recyn"/>
- <Cell col="12" displaytype="combo" edittype="combo" text="bind:bfhospexeccpr" combodataset="ds_combo_bfhospexeccpr" combocodecol="code" combodatacol="name"/>
- <Cell col="13" displaytype="combo" edittype="combo" text="bind:inhospexeccpr" combodataset="ds_combo_bfhospexeccpr" combocodecol="code" combodatacol="name"/>
- <Cell col="14" displaytype="combo" edittype="combo" text="bind:doayn" combodataset="ds_combo_doayn" combocodecol="code" combodatacol="name"/>
- <Cell col="15" text="bind:formrecseq"/>
- <Cell col="16" displaytype="combo" edittype="combo" text="bind:inptstat" combodataset="ds_combo_inptstat" combocodecol="code" combodatacol="name"/>
- <Cell col="17" text="bind:transtat"/>
- <Cell col="18" text="bind:rscpstat"/>
- <Cell col="19" text="bind:genrdd"/>
- <Cell col="20" text="bind:genrno"/>
- <Cell col="21" text="bind:histno"/>
- <Cell col="22" text="bind:rscpemcd"/>
- <Cell col="23" text="bind:errmsg"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 995 69 1051 89" id="button1" class="btn3" text="전송" onclick="button1_onclick" anchor="top right"/>
- <Button position="absolute 861 69 989 89" id="button2" class="btn3" text="전송전데이터저장" onclick="button2_onclick" anchor="top right"/>
- <Static text="심정지 입력대상자 조회" position="absolute 0 0 173 25" id="caption6" class="tit_1"/>
- <Static text="심정지 입력대상자 List" position="absolute 0 72 170 88" id="caption2" class="tit_2"/>
- <Div id="Div00" taborder="6" position="absolute 0 25 1051 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption8" text="검색조건 :" class="search_name" position="absolute 12 11 87 31" anchor="default"/>
- <Combo id="combo3" taborder="1" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 92 11 172 31" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">0</Col>
- <Col id="datacolumn">내원일</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Calendar id="input3" taborder="2" class="input_search" position="absolute 182 11 279 31" anchor="default" autoselect="true" autoskip="true"/>
- <Calendar id="input1" taborder="3" class="input_search" position="absolute 300 11 397 31" anchor="default" autoselect="true"/>
- <Static id="caption1" text="~" position="absolute 285 12 298 32" anchor="default"/>
- <Shape id="line2" linetype="vertical" position="absolute 939 11 945 31" anchor="top right"/>
- <Button id="btn_req" taborder="4" text="조회" onclick="btn_req_onclick" class="btn1" position="absolute 967 11 1023 31" anchor="top right"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_rscpiptlist_rscpiptinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_rscpiptlist_rscpiptinfo_oncolumnchanged">
- <ColumnInfo>
- <Column id="chkyn" type="STRING" size="256" sumtext="입원일"/>
- <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
- <Column id="cretno" type="STRING" size="256" sumtext="cretno"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="pathngnm" type="STRING" size="256" sumtext="환자명"/>
- <Column id="chosdd" type="STRING" size="256" sumtext="내원일자"/>
- <Column id="chostm" type="STRING" size="256" sumtext="내원시간"/>
- <Column id="srchkind" type="STRING" size="256" sumtext="조건구분"/>
- <Column id="rscprgyn" type="STRING" size="256" sumtext="입력여부"/>
- <Column id="rscprgcd" type="STRING" size="256" sumtext="입력불가사유"/>
- <Column id="rscprgtt" type="STRING" size="256" sumtext="불가사유"/>
- <Column id="recyn" type="STRING" size="256" sumtext="기록여부"/>
- <Column id="bfhospexeccpr" type="STRING" size="256" sumtext="병원전CPR여부"/>
- <Column id="inhospexeccpr" type="STRING" size="256" sumtext="내원후CPR여부"/>
- <Column id="doayn" type="STRING" size="256" sumtext="생존여부"/>
- <Column id="formrecseq" type="STRING" size="256" sumtext="기록번호"/>
- <Column id="inptstat" type="STRING" size="256" sumtext="입력상태"/>
- <Column id="transtat" type="STRING" size="256" sumtext="G/W전송"/>
- <Column id="rscpstat" type="STRING" size="256" sumtext="최종전송"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="발생일자"/>
- <Column id="genrno" type="STRING" size="256" sumtext="발생번호"/>
- <Column id="histno" type="STRING" size="256" sumtext="이력번호"/>
- <Column id="rscpemcd" type="STRING" size="256" sumtext="응급의료기관코드"/>
- <Column id="errmsg" type="STRING" size="256" sumtext="에러사항"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srch_kind" type="STRING" size="256"/>
- <Column id="srch_startdd" type="DATE" size="256"/>
- <Column id="srch_enddd" type="DATE" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srch_startdd"/>
- <Col id="srch_enddd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_combo_rscprgyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">Y</Col>
- <Col id="name">입력대상임</Col>
- </Row>
- <Row>
- <Col id="code">N</Col>
- <Col id="name">제외대상임</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_combo_rscprgcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">1</Col>
- <Col id="name">병원내 심정지</Col>
- </Row>
- <Row>
- <Col id="code">8</Col>
- <Col id="name">모름</Col>
- </Row>
- <Row>
- <Col id="code">9</Col>
- <Col id="name">기타</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_combo_bfhospexeccpr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">0</Col>
- <Col id="name">미시행</Col>
- </Row>
- <Row>
- <Col id="code">1</Col>
- <Col id="name">시행</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_combo_doayn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">0</Col>
- <Col id="name">DOA</Col>
- </Row>
- <Row>
- <Col id="code">1</Col>
- <Col id="name">생존</Col>
- </Row>
- <Row>
- <Col id="code">2</Col>
- <Col id="name">CPR후사망</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_combo_inptstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="code">0</Col>
- <Col id="name">미입력</Col>
- </Row>
- <Row>
- <Col id="code">1</Col>
- <Col id="name">입력</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_orddept_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cond2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="Div00.combo3" propid="value" datasetid="ds_init" columnid="srch_kind"/>
- <BindItem id="item1" compid="Div00.input3" propid="value" datasetid="ds_init" columnid="srch_startdd"/>
- <BindItem id="item2" compid="Div00.input1" propid="value" datasetid="ds_init" columnid="srch_enddd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-11-13
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-11-13 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs";
- function SPMMO07300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO07300_onload(obj:Form, e:LoadEventInfo)
- {
- ds_rscpiptlist_rscpiptinfo.clearData();
- lf_getHardCDList("N", 1, null, ds_orddept_hardcd);
- }
- function btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRMMO07301";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetSCPRInputList";
- oParam.inds = "req=ds_init";
- oParam.outds = "ds_rscpiptlist_rscpiptinfo=rscpiptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMMO07301";
- tranf_submit(oParam);
- }
- function datagrid2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var formrecseq = ds_rscpiptlist_rscpiptinfo.getColumn(ds_rscpiptlist_rscpiptinfo.rowposition, "formrecseq");
- var pid = ds_rscpiptlist_rscpiptinfo.getColumn(ds_rscpiptlist_rscpiptinfo.rowposition, "pid");
- var indd = ds_rscpiptlist_rscpiptinfo.getColumn(ds_rscpiptlist_rscpiptinfo.rowposition, "indd");
- var hardcd = ds_orddept_hardcd.getColumn(0, "hardcd");
- var cretno = ds_rscpiptlist_rscpiptinfo.getColumn(ds_rscpiptlist_rscpiptinfo.rowposition, "cretno");
-
- frmf_setParameter("scrnflag", formrecseq);
- frmf_setParameter("pid", pid);
- frmf_setParameter("orddd", indd);
- frmf_setParameter("orddeptcd", hardcd);
- frmf_setParameter("cretno", cretno);
- frmf_setParameter("ioflag", "E");
- frmf_setParameter("orddrid", sysf_getUserInfo("userid"));
- frmf_setParameter("disppatinfo", "");
- frmf_setParameter("oprsrvno", "");
- frmf_setParameter("opcnfmdd", "");
- frmf_setParameter("openmode", "newform");
- frmf_setParameter("formcd", "0900006350");
- frmf_setParameter("SSMMR01100_getTopYn", "N");
-
- frmf_open("SPMMO07800", "SPMMO07800", "", null, "1", "0", "0", null, null, null, null, null, "M");
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_makeValue(ds_cond1, "srch_kind", "string", ds_init.getColumn(0, "srch_kind"));
- dsf_makeValue(ds_cond1, "srch_startdd", "string", ds_init.getColumn(0, "srch_startdd"));
- dsf_makeValue(ds_cond1, "srch_enddd", "string", ds_init.getColumn(0, "srch_enddd"));
-
- ds_rscpiptlist_rscpiptinfo.filter("chkyn == '1'");
- ds_cond2.copyData(ds_rscpiptlist_rscpiptinfo,true);
- ds_rscpiptlist_rscpiptinfo.filter("");
-
- var rowcount = ds_cond2.rowcount;
- var chkyngubun = false;
- if(rowcount < 1)
- {
- sysf_messageBox("먼저 저장할 건을 선택하시기 바랍니다.", "I");
- return;
- }
-
- var oParam = {};
- oParam.id = "TXMMO07301";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqExeSaveSCPRInfo";
- oParam.inds = "req1=ds_cond1 req2=ds_cond2";
- oParam.outds = "ds_rscpiptlist_rscpiptinfo=rscpiptlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- dsf_makeValue(ds_cond1, "srch_kind", "string", ds_init.getColumn(0, "srch_kind"));
- dsf_makeValue(ds_cond1, "srch_startdd", "string", ds_init.getColumn(0, "srch_startdd"));
- dsf_makeValue(ds_cond1, "srch_enddd", "string", ds_init.getColumn(0, "srch_enddd"));
-
- ds_rscpiptlist_rscpiptinfo.filter("chkyn == '1'");
- ds_cond2.copyData(ds_rscpiptlist_rscpiptinfo,true);
- ds_rscpiptlist_rscpiptinfo.filter("");
-
- var rowcount = ds_cond2.rowcount;
- var chkyngubun = false;
- if(rowcount < 1)
- {
- sysf_messageBox("먼저 저장할 건을 선택하시기 바랍니다.", "I");
- return;
- }
- ds_cond2.filter("inptstat == '0'")
- if (ds_cond2.rowcount > 0) {
- messageBox("선택된 항목중 전송전데이터가 없는 건이 있습니다. 전송전데이터를 먼저 저장하세요.", "I");
- return;
- }
- ds_cond2.filter("");
- ds_cond2.clearData();
- ds_rscpiptlist_rscpiptinfo.filter("chkyn == '1'");
- ds_cond2.copyData(ds_rscpiptlist_rscpiptinfo,true);
- ds_rscpiptlist_rscpiptinfo.filter("");
-
- var oParam = {};
- oParam.id = "TXMMO07302";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqExeTransSCPRInfo";
- oParam.inds = "req1=ds_cond1 req2=ds_cond2";
- oParam.outds = "ds_rscpiptlist_rscpiptinfo=rscpiptlist";
- oParam.async = false;
-
- tranf_submit(oParam);
- }
- function datagrid2_onkeydown(obj:Grid, e:KeyEventInfo)
- {
- if (ds_rscpiptlist_rscpiptinfo.getColumn(ds_rscpiptlist_rscpiptinfo.rowposition, "rscprgcd") != "9" )
- {
- sysf_messageBox("입력불가사유가 기타가 아닙니다.", "I");
- obj.showEditor(false);
- ds_rscpiptlist_rscpiptinfo.setColumn(ds_rscpiptlist_rscpiptinfo.rowposition, "rscprgtt", "");
- return;
- }
- if( e.keycode == 13 )
- {
- //obj.moveToNextCell();
- obj.showEditor(false);
- }
- }
- function ds_rscpiptlist_rscpiptinfo_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var row = ds_rscpiptlist_rscpiptinfo.rowposition;
- if(datagrid2.getBindCellIndex("body", "rscprgcd") == e.col)//9
- {
- if (ds_rscpiptlist_rscpiptinfo.getColumn(row, "rscprgyn") != "N" )
- {
- ds_rscpiptlist_rscpiptinfo.setColumn(row, "rscprgcd", "-");
- sysf_messageBox("제외대상일 경우에만 선택하시기 바랍니다.", "I");
- obj.showEditor(false);
- return;
- }
- if (ds_rscpiptlist_rscpiptinfo.getColumn(row, "rscprgcd") != "9" )
- {
- ds_rscpiptlist_rscpiptinfo.setColumn(row, "rscprgtt", "");
- return;
- }
- }
- else if (datagrid2.getBindCellIndex("body", "rscprgyn") == e.col) //8
- {
- if (ds_rscpiptlist_rscpiptinfo.getColumn(row, "rscprgyn") != "N" )
- {
- ds_rscpiptlist_rscpiptinfo.setColumn(row, "rscprgcd", "-");
- ds_rscpiptlist_rscpiptinfo.setColumn(row, "rscprgtt", "");
- return;
- }
- }
- }
- function datagrid2_oncloseup(obj:Grid, e:GridEditEventInfo)
- {
- var dsGridBind = eval(obj.binddataset);
- var preVal = utlf_transNullToEmpty(dsGridBind.getColumn(e.row, e.col));
- var posVal = utlf_transNullToEmpty(e.value);
-
- if( bDrop1 == true && (!utlf_isNull(posVal) || preVal != posVal) ){
- obj.showEditor(false);
- }
-
- bDrop1 = false;
- lastrow1 = e.row;
- lastcol1 = e.col;
- }
- var lastrow1 = -1;
- var lastcol1 = -1;
- var bDrop1 = false;
- function datagrid2_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- lastrow1 = -1;
- lastcol1 = -1;
- }
- function datagrid2_onlbuttonup(obj:Grid, e:GridMouseEventInfo)
- {
- grdf_setSelectedCell(obj, e);
-
- var dsGridBind = eval(obj.binddataset);
-
- // Combo DropDown Click 처리
- obj.autoenter = "select";
-
- if( e.fromreferenceobject.name == "dropbutton" ){
- bDrop1 = true;
- }
- if( e.row > -1 && obj.getCellProperty("body", e.col, "edittype") == "combo" ){
- // Combo 선택시 활성화 및 combodatacol 변경
- if( grdf_getSelectedCols(obj).length == 0 && grdf_getSelectedRows(obj).length == 0 && obj.getEditText() == undefined ){
- obj.showEditor(true);
- }else{
- if(!obj.isDropdownCombo() && (lastrow1 != e.row || lastcol1 != e.col)) {
- obj.setCellPos(e.col);
- dsGridBind.rowposition = e.row;
- obj.showEditor(true);
- if(bDrop1) {
- obj.dropdownCombo();
- }
- }
- }
- }else{
- obj.autoenter = "select";
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|