• 고객센터
  • 교육
  • 매뉴얼
  • 데모
  • 제품소개
조회 수 : 1467
2010.07.06 (14:55:43)
게시판을 이용해 주셔서 감사합니다.
다음양식에 맞게 입력해주세요.

* 고객시스템명 : Windows XP SP3, IE 8
* 문의할 Component명 및 버전 : MxMGridU 2.0.1.64
* DataSet 버전 : MxDataSetU 2.0.1.80
* Tr 버전 : MxLogicalTRU 2.0.1.50
* 문의 유형(질문/요청/참조) : 질문

* 내용 :
첨부 파일의 01과 02의 차이는 MGrid 컬럼 인덱스 8, 9 항목이 추가된 차이 입니다. (02가 추가 된 파일)

컬럼의 포지션을 맞췄다고 생각하는데 인덱스8, 9가 추가되면 MGrid의 컬럼이 화면에서는 나타나지 않아
방법의 잘못이 있는지 문의를 드리며.


단순히 01 파일로 적용할 경우에도 가로스크롤바가 생성되기는 하나 마지막 필드가 표시 되지 않음은 물론
스크롤을 가로 시작-끝으로 이동을 반복 할 경우 단계적으로 스크롤이 막혀서 정상적인 스크롤이 되지 않고 있습니다.


이 두 문제에 대한 해결 방안을 요청합니다.
번호 제목 닉네임 조회 등록일
3585 no image activex설치페이지 오류현상 확인요청
기술지원40
1905 2010-07-23
컴포넌트 설치 여부와 버전을 체크하기 위한 거라면 제공하고 있는 기능인 Active Update 를 사용하시기 바랍니다. Manager를 사용한 AU방식을 사용하면 컴포넌트 버전 체크 및 설치 여부를 관리할 수 있습니다. AU에 관한 가이드 및 샘플은 'Component 다운로드' 페이지에서 확인하실 수 있습니다. > >해당부분을 확인하던중 설치페이지에서 에러가 발생한다는것을 발견하였습니다. > >해당소스 올려드리오니 해당소스에 어떤 부분이 잘못됐는지 체크가능할까요? > >확인부탁드립니다. > ><script type="text/javascript"> > <%-- ActiveX 가 없음을 나타내는 지역 변수 --%> > var ls_isNotActiveX = false; > > <%-- 숫자에서 comma를 없앤다. --%> > function page_deleteCommaAtString(str){ > var temp = ''; > > for (var i = 0; i < str.length; i++) { > if (str.charAt(i) == ',') { > continue; > } else { > temp += str.charAt(i); > } > } > > return temp; > } ></script> > ><%-- 처음 접속하는 사람들은 에러를 발생시켜 ActiveX 다운로드 페이지로 이동시킨다. --%> ><OBJECT CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331" style="display: none;"> > <PARAM NAME="LPKPath" VALUE="/activex/ecosian_all_activex.lpk"> ></OBJECT> > ><%-- > - EcosianDll.CAB > - ExecDoEvents 를 실행하게 함으로써 특정 프로세스에서 CPU 점유율을 100 가 되지 않도록 하는데 사용 > --%> ><OBJECT style="display: none;" CLASSID="CLSID:B384CED3-EDE3-4127-9D8A-BC3F8B47F119" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><%-- > - EcoCloseExplorer.cab > - 브라우저를 닫을때 사용 > --%> ><OBJECT style="display: none;" CLASSID="CLSID:1946AB41-D3AE-43E8-B827-7949B0B3B75C" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><%-- > - EcoControl.cab > - Ecosian EcoSpread 인데 어떤 용도로 쓰는것인지 정확히 모름 > --%> ><OBJECT style="display: none;" CLASSID="CLSID:6154DD69-34D7-4F89-9B16-A0015671396D" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><%-- > - EcoDownload.cab > - Ecosian MultiDownload > --%> ><OBJECT style="display: none;" CLASSID="CLSID:D088BF06-0C76-43C6-8123-12EEE1614AC1" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><%-- MxLogicalTRU.cab --%> ><OBJECT id="MxLogicalTRU" style="display: none;" CLASSID="CLSID:223216F6-B9FE-406d-9ED6-143FCE3A07B8" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><%-- MxDataSetU.cab --%> ><OBJECT id="MxDataSetU" style="display: none;" CLASSID="CLSID:AF989B7C-8AC3-40bc-B749-EB335BDFD190" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><%-- MxGridU.cab --%> ><OBJECT id="MxGridU" style="display: none;" CLASSID="CLSID:71E7ACA0-EF63-4055-9894-229B056E9C31" onError="javascript:ls_isNotActiveX=true;"></OBJECT> > ><script language="JavaScript" type="text/JavaScript"> > try { > > <%-- > - 문자로 버젼을 비교하게 되면 2,0,0,9 가 2,0,0,11 보다 실제로는 낮은 버젼임에도 불구하고 비교연산을 하면 큰 값으로 비교된다. > - 때문에, 버젼값에서 콤마를 제외하고 숫자로 변환한후 비교를 해야 정확한 비교를 할 수 있기 때문에 아래와 같이 처리한다. > - 2,0,0,9 < 2,0,0,11 가 거짓이지만, 2009 > 20011 은 참이다. > --%> > if (parseInt(page_deleteCommaAtString(document.all.MxDataSetU.Version), 10) > < parseInt(page_deleteCommaAtString("2,0,1,42"), 10)){ > ls_isNotActiveX = true; > > } > if (parseInt(page_deleteCommaAtString(document.all.MxGridU.Version), 10) > < parseInt(page_deleteCommaAtString("2,0,1,212"), 10)){ > ls_isNotActiveX = false; > > } > if (parseInt(page_deleteCommaAtString(document.all.MxLogicalTRU.Version), 10) > < parseInt(page_deleteCommaAtString("2,0,1,32"), 10)){ > ls_isNotActiveX = true; > > } > } catch(e) { > ls_isNotActiveX = true; > } > if (ls_isNotActiveX) { > <%--ActiveX 설치 페이지로 이동--%> > document.myForm.action = "/system/active_update2.jsp"; > document.myForm.target = "_self"; > document.myForm.method = "post"; > document.myForm.rtnPage.value = this.document.location.href; > document.myForm.submit(); > > //document.location.href='/system/active_update3.jsp?rtnPage=' + this.document.location.href; > } ></script> > >>게시판을 이용해 주셔서 감사합니다. >>다음양식에 맞게 입력해주세요. >> >>* 고객시스템명 : hsms >>* 문의할 Component명 및 버전 : 그리드 2.0.1.309 >>* DataSet 버전 : >>* Tr 버전 : >>* 문의 유형(질문/요청/참조) : 질문 >>* 내용 : >>1.1)특정컴퓨터에서 컴포넌트 설치화면으로 들어가면 화면이 멈춰버리는 현상이 발생하고 있는데요. >> >>혹시 이와 관련되어 접수되거나 확인된 사항이 있나해서요 >> >>있으시면 확인부탁드릴게요..^^ >> >>1.2)그리고 엑티브x파일을 지우면 다시 생성되는데 이부분은 무엇때문에 그런지 알고계시나요? >> >>c:windowdownload.... 폴더하위에 있는 컴포넌트 파일을 삭제하면 삭제되는 듯이 보이다가 다시 화면을 보면 >> >>삭제했던 파일들이 다시 살아나 있습니다. >> >>해당현상과 관련되어 확인된 사항이 있으시면 답변부탁드립니다. >> >>부족한 부분이 있거나 필요한 사항이 있으시면 답변달아주시면 제가 재답변하도록 하겠습니다. >
3584 no image Tree맵 멀티선택 구현 방법 첨부 파일
이주영
1642 2010-07-12
3583 no image Tree맵 멀티선택 구현 방법
기술지원97
1769 2010-07-27
3582 no image Mgrid와 Dataset의 연결이 안&#46093;니다.
이철우
1758 2010-07-09
게시판을 이용해 주셔서 감사합니다. 다음양식에 맞게 입력해주세요. * 고객시스템명 : 대전도시공사 * 문의할 Component명 및 버전 : * DataSet 버전 : 1,2,1,71 - MxDataSet * Tr 버전 : * 문의 유형(질문/요청/참조) : Mgrid 사용 문제 * 내용 : 데이터 셋에 Mgrid를 연결후 데이터셋의 CountRow를 하면 데이터가 조회 됀 갯수를 뿌려주는데 Mgrid에는 데이터가 올라 오지 않고 헤더만보여 줍니다. 클래스 명도 맞게 기술 한거 갖고 캡 파일 버젼 도 확인 하고 했는데 문제가 없는듯 한대 ... 왜 않돼는지요 ㅠㅠ 하단에 현재 사용 하고 있는 MXGrid ClassID 와 MXMgrid ClassID Mgrid View 하는 부분, 그리고 공통 스크립트로 Mgrid 를 초기화 해서 데이터 셋과 연결( agrid.DataID = dataset.id ) 하는 부분을 첨부 했으니 참조 하여 주시기 바랍니다. [ class ID ] 데이터셋 {2506B38B-0FF7-4249-BA3E-8BC1DC399FBB} Mgrid {8B6E903C-6297-44FB-B6C5-4F9D7FCA2A08} [ View - jsp 파일] String GH_Line_1 = "top="0" bottom="20" "; String GH_Line_2 = "top="20" bottom="40" "; String GH_Line_3 = "top="0" bottom="40" "; String GV_Line_1 = "top="0" bottom="20" "; String GV_Line_2 = "top="20" bottom="40" "; String GV_Line_3 = "top="0" bottom="40" "; int G_Pos = 0; int G_Idx = 0; <object id=gridMGRID classid="clsid:8B6E903C-6297-44FB-B6C5-4F9D7FCA2A08" width=100% height=100%> <Param Name="ColumnInfo" value=' <COLUMNINFO> <COLUMN id="id_명칭" refcolid="명칭" index="<%=++G_Idx%>"> <TREE type="2" levelcolumn="레벨" expand="false"/> <HEADER <%=GH_Line_3%> left="<%=G_Pos%>" right="<%=G_Pos+260%>" text="명칭"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos%>" right="<%=G_Pos+260%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_규격" refcolid="규격" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_3%> left="<%=G_Pos+260%>" right="<%=G_Pos+330%>" text="규격"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos+260%>" right="<%=G_Pos+330%>"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_단위" refcolid="단위" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_3%> left="<%=G_Pos+330%>" right="<%=G_Pos+400%>" text="단위"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos+330%>" right="<%=G_Pos+400%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_수량" refcolid="수량" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_3%> left="<%=G_Pos+400%>" right="<%=G_Pos+470%>" text="수량"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos+400%>" right="<%=G_Pos+470%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_총합계" view="false"> <HEADER <%=GH_Line_1%> left="<%=G_Pos+470%>" right="<%=G_Pos+610%>" text="합계"/> </COLUMN> <COLUMN id="id_단가합계" refcolid="단가합계" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+470%>" right="<%=G_Pos+540%>" text="단가"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+470%>" right="<%=G_Pos+540%>"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_합계" refcolid="합계" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+540%>" right="<%=G_Pos+610%>" text="금액"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+540%>" right="<%=G_Pos+610%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_재료비합계" view="false"> <HEADER <%=GH_Line_1%> left="<%=G_Pos+610%>" right="<%=G_Pos+750%>" text="재료비"/> </COLUMN> <COLUMN id="id_재료비단가" refcolid="재료비단가" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+610%>" right="<%=G_Pos+680%>" text="단가"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+610%>" right="<%=G_Pos+680%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_재료비" refcolid="재료비" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+680%>" right="<%=G_Pos+750%>" text="금액"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+680%>" right="<%=G_Pos+750%>"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_노무비합계" view="false"> <HEADER <%=GH_Line_1%> left="<%=G_Pos+750%>" right="<%=G_Pos+890%>" text="노무비"/> </COLUMN> <COLUMN id="id_노무비단가" refcolid="노무비단가" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+750%>" right="<%=G_Pos+820%>" text="단가"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+750%>" right="<%=G_Pos+820%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_노무비" refcolid="노무비" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+820%>" right="<%=G_Pos+890%>" text="금액"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+820%>" right="<%=G_Pos+890%>" align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_경비합계" view="false"> <HEADER <%=GH_Line_1%> left="<%=G_Pos+890%>" right="<%=G_Pos+1030%>" text="경비"/> </COLUMN> <COLUMN id="id_경비단가" refcolid="경비단가" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+890%>" right="<%=G_Pos+960%>" text="단가"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+890%>" right="<%=G_Pos+960%>"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_경비" refcolid="경비" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_2%> left="<%=G_Pos+960%>" right="<%=G_Pos+1030%>" text="금액"/> <VIEW <%=GV_Line_2%> left="<%=G_Pos+960%>" right="<%=G_Pos+1030%>" lign="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_비고" refcolid="비고" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_3%> left="<%=G_Pos+1030%>" right="<%=G_Pos+1290%>" text="비고"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos+1030%>" right="<%=G_Pos+1290%>"align="leftcenter"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_제요율적용여부" refcolid="제요율적용여부" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_3%> left="<%=G_Pos+1290%>" right="<%=G_Pos+1360%>" text="제요율적용"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos+1290%>" right="<%=G_Pos+1360%>"/> <CHILD type="edit" ime="0"/> </COLUMN> <COLUMN id="id_순번" refcolid="순번" index="<%=++G_Idx%>"> <HEADER <%=GH_Line_3%> left="<%=G_Pos+1360%>" right="<%=G_Pos+1430%>" text="순번"/> <VIEW <%=GV_Line_3%> left="<%=G_Pos+1360%>" right="<%=G_Pos+1430%>"/> <CHILD type="edit" ime="0"/> </COLUMN> </COLUMNINFO> '> </object> [ 공통 스크립트 ] // Grid 공통 초기화 function G_GridInitM(grid) { if (grid == null) { C_msgOk("Grid 공통 초기화 에러 : " + G_MSG_GRID_NULL, "에러"); return false; } try { // !!Grid 공통 초기화 추가!! grid.DragDrop = 0; grid.Draw = true; grid.Enable = true; grid.EnableDblClkAtNotEditable = false; grid.FixHScroll = false; grid.FixVScroll = false; grid.FocusRect = false; grid.IME = 0; grid.Resize = 1; grid.Sort = true; grid.ViewHeader = true; } catch (e) { C_msgOk("Grid 공통 초기화 설정 에러 : " + e.message, "에러"); return false; } return true; } // DataSet 등록 function G_addDataSetM(aDataset, aTrans, aGrid, aServiceURL, aDataSetTitle) { if (aDataset == null) { C_msgOk("DataSet 등록 에러 : " + G_MSG_DATASET_NULL, "에러"); return false; } try { var objDataSetInfo = new G_DataSetInfoM(aDataset, aTrans, aGrid, aServiceURL, aDataSetTitle); if (G_arrDataSets == null) G_arrDataSets = new Array(); G_arrDataSets.push(objDataSetInfo); } catch (e) { C_msgOk("DataSet 등록 에러 : " + e.message, "에러"); return false; } try { G_DataSetInit(aDataset); // DataSet 관련 이벤트 aDataset.attachEvent ("OnRowInserted", new Function("row", "G_OnRowInserted(" + aDataset.id + ", row);")); aDataset.attachEvent ("OnRowDeleted", new Function("row", "G_OnRowDeleted(" + aDataset.id + ", row);")); aDataset.attachEvent ("OnDataError", new Function("row", "colid", "G_OnDataError(" + aDataset.id + ", row, colid);")); aDataset.attachEvent ("CanRowPosChange", new Function("row", "return G_CanRowPosChange(" + aDataset.id + ", row);")); aDataset.attachEvent ("OnRowPosChanged", new Function("row", "G_OnRowPosChanged(" + aDataset.id + ", row);")); aDataset.attachEvent ("OnColumnChanged", new Function("row", "colid", "G_OnColumnChanged(" + aDataset.id + ", row, colid);")); aDataset.attachEvent ("OnLoadStarted", new Function("G_OnLoadStarted(" + aDataset.id + ");")); aDataset.attachEvent ("OnLoadCompleted", new Function("rowcnt", "G_OnLoadCompleted(" + aDataset.id + ", rowcnt);")); aDataset.attachEvent ("OnLoadError", new Function("G_OnLoadError(" + aDataset.id + ");")); aDataset.attachEvent ("OnLoadProcess", new Function("rowcnt", "G_OnLoadProcess(" + aDataset.id + ", rowcnt);")); aDataset.attachEvent ("OnFilter", new Function("row", "return G_OnFilter(" + aDataset.id + ", row);")); aDataset.attachEvent ("OnLayoutChanged", new Function("colcnt", "G_OnLayoutChanged(" + aDataset.id + ", colcnt);")); aDataset.attachEvent ("OnRowsetChanged", new Function("G_OnRowsetChanged(" + aDataset.id + ");")); } catch (e) { C_msgOk("DataSet 초기화 에러 : " + e.message, "에러"); return false; } try { if (aTrans != null) { G_TransInit(aTrans); // Transaction 관련 이벤트 aTrans.attachEvent ("OnSuccess", new Function("G_OnSuccess(" + aDataset.id + ", " + aTrans.id + ");")); aTrans.attachEvent ("OnFail", new Function("G_OnFail(" + aDataset.id + ", " + aTrans.id + ");")); } } catch (e) { C_msgOk("Transaction 초기화 에러 : " + e.message, "에러"); return false; } try { if (aGrid != null) { aGrid.DataID = aDataset.id; G_GridInitM(aGrid); // Grid 관련 이벤트 if (aGrid.ColumnInfo != null) { aGrid.attachEvent ("OnChar", new Function("G_OnCharM(" + aDataset.id + ", " + aGrid.id + ");")); aGrid.attachEvent ("OnCloseUp", new Function("colid", "index","G_OnCloseUpM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnCollapsed", new Function("index", "G_OnCollapsedM(" + aDataset.id + ", " + aGrid.id + ", index);")); aGrid.attachEvent ("OnCollapsing", new Function("index", "return G_OnCollapsingM(" + aDataset.id + ", " + aGrid.id + ", index);")); aGrid.attachEvent ("OnCopy", new Function("CellSelected", "BlockSelected", "G_OnCopyM(" + aDataset.id + ", " + aGrid.id + ", CellSelected, BlockSelected);")); aGrid.attachEvent ("OnDrag", new Function("colid", "index", "return G_OnDragM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnDragging", new Function("colid", "index", "return G_OnDraggingM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnDrop", new Function("colid", "index", "data", "G_OnDropM(" + aDataset.id + ", " + aGrid.id + ", index, colid, data);")); aGrid.attachEvent ("OnDropDown", new Function("colid", "index", "G_OnDropDownM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnEnter", new Function("colid", "index", "G_OnEnterM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnError", new Function("ecode", "estring", "G_OnErrorM(" + aDataset.id + ", " + aGrid.id + ", ecode, estring);")); aGrid.attachEvent ("OnExit", new Function("colid", "index", "orgtext", "return G_OnExitM(" + aDataset.id + ", " + aGrid.id + ", index, colid, orgtext);")); aGrid.attachEvent ("OnExpanded", new Function("index", "G_OnExpandedM(" + aDataset.id + ", " + aGrid.id + ", index);")); aGrid.attachEvent ("OnExpanding", new Function("index", "return G_OnExpandingM(" + aDataset.id + ", " + aGrid.id + ", index);")); aGrid.attachEvent ("OnFirstUp", new Function("G_OnFirstUpM(" + aDataset.id + ", " + aGrid.id + ");")); aGrid.attachEvent ("OnHeadCheckClick", new Function("G_OnHeadCheckClickM(" + aDataset.id + ", " + aGrid.id + ");")); aGrid.attachEvent ("OnKeyDown", new Function("kcode,keystate", "return G_OnKeyDownM(" + aDataset.id + ", " + aGrid.id + ", kcode,keystate);")); aGrid.attachEvent ("OnKillFocus", new Function("G_OnKillFocusM(" + aDataset.id + ", " + aGrid.id + ");")); aGrid.attachEvent ("OnLastDown", new Function("G_OnLastDownM(" + aDataset.id + ", " + aGrid.id + ");")); aGrid.attachEvent ("OnLButtonDblClk", new Function("type","index", "colid", "x", "y", "G_OnLButtonDblClkM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); aGrid.attachEvent ("OnLButtonDown", new Function("type","index", "colid", "x", "y", "G_OnLButtonDownM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); aGrid.attachEvent ("OnLButtonUp", new Function("type","index", "colid", "x", "y", "G_OnLButtonUpM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); aGrid.attachEvent ("OnMenuSelected", new Function("code", "text", "G_OnMenuSelectedM(" + aDataset.id + ", " + aGrid.id + ", code, text);")); aGrid.attachEvent ("OnPaste", new Function("colid", "index", "G_OnPasteM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnPopup", new Function("colid", "index", "flag", "G_OnPopupM(" + aDataset.id + ", " + aGrid.id + ", index, colid, flag);")); aGrid.attachEvent ("OnRButtonDblClk", new Function("type","index", "colid", "x", "y", "G_OnRButtonDblClkM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); aGrid.attachEvent ("OnRButtonDown", new Function("type","index", "colid", "x", "y", "G_OnRButtonDownM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); aGrid.attachEvent ("OnRButtonUp", new Function("type","index", "colid", "x", "y", "G_OnRButtonUpM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); aGrid.attachEvent ("OnSelChange", new Function("colid", "index", "return G_OnSelChangeM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnSelChanged", new Function("colid", "index", "G_OnSelChangedM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); aGrid.attachEvent ("OnSetFocus", new Function("G_OnSetFocusM(" + aDataset.id + ", " + aGrid.id + ");")); } } } catch (e) { C_msgOk("Grid 초기화 에러 : " + e.message, "에러"); return false; } return true; }
3581 no image Mgrid와 Dataset의 연결이 안&#46093;니다.
기술지원97
1786 2010-07-27
컬럼 매핑이 잘못되어 있거나 Mgrid의 dataid에 DataSet이 잘못 매핑되었을 수 있습니다. 다시 한번 확인해보시고, 보내주신 화면소스로는 파악하기 어렵습니다. IE창에서 소스보기로 보내주시기 바랍니다. >게시판을 이용해 주셔서 감사합니다. >다음양식에 맞게 입력해주세요. > >* 고객시스템명 : >* 문의할 Component명 및 버전 : >* DataSet 버전 : 1,2,1,71 - MxDataSet >* Tr 버전 : >* 문의 유형(질문/요청/참조) : Mgrid 사용 문제 >* 내용 : > 데이터 셋에 Mgrid를 연결후 데이터셋의 CountRow를 하면 데이터가 조회 됀 갯수를 뿌려주는데 > Mgrid에는 데이터가 올라 오지 않고 헤더만보여 줍니다. 클래스 명도 맞게 기술 한거 갖고 > 캡 파일 버젼 도 확인 하고 했는데 문제가 없는듯 한대 ... 왜 않돼는지요 ㅠㅠ > >하단에 현재 사용 하고 있는 MXGrid ClassID 와 MXMgrid ClassID >Mgrid View 하는 부분, 그리고 공통 스크립트로 Mgrid 를 초기화 해서 >데이터 셋과 연결( agrid.DataID = dataset.id ) 하는 부분을 첨부 했으니 >참조 하여 주시기 바랍니다. > >[ class ID ] > 데이터셋 {2506B38B-0FF7-4249-BA3E-8BC1DC399FBB} > Mgrid {8B6E903C-6297-44FB-B6C5-4F9D7FCA2A08} > >[ View - jsp 파일] >String GH_Line_1 = "top="0" bottom="20" "; >String GH_Line_2 = "top="20" bottom="40" "; >String GH_Line_3 = "top="0" bottom="40" "; > >String GV_Line_1 = "top="0" bottom="20" "; >String GV_Line_2 = "top="20" bottom="40" "; >String GV_Line_3 = "top="0" bottom="40" "; > >int G_Pos = 0; >int G_Idx = 0; > ><object id=gridMGRID classid="clsid:8B6E903C-6297-44FB-B6C5-4F9D7FCA2A08" width=100% height=100%> ><Param Name="ColumnInfo" value=' ><COLUMNINFO> > <COLUMN id="id_명칭" refcolid="명칭" index="<%=++G_Idx%>"> > <TREE type="2" levelcolumn="레벨" expand="false"/> > <HEADER <%=GH_Line_3%> left="<%=G_Pos%>" right="<%=G_Pos+260%>" text="명칭"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos%>" right="<%=G_Pos+260%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_규격" refcolid="규격" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_3%> left="<%=G_Pos+260%>" right="<%=G_Pos+330%>" text="규격"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos+260%>" right="<%=G_Pos+330%>"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_단위" refcolid="단위" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_3%> left="<%=G_Pos+330%>" right="<%=G_Pos+400%>" text="단위"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos+330%>" right="<%=G_Pos+400%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_수량" refcolid="수량" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_3%> left="<%=G_Pos+400%>" right="<%=G_Pos+470%>" text="수량"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos+400%>" right="<%=G_Pos+470%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_총합계" view="false"> > <HEADER <%=GH_Line_1%> left="<%=G_Pos+470%>" right="<%=G_Pos+610%>" text="합계"/> > </COLUMN> > <COLUMN id="id_단가합계" refcolid="단가합계" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+470%>" right="<%=G_Pos+540%>" text="단가"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+470%>" right="<%=G_Pos+540%>"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_합계" refcolid="합계" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+540%>" right="<%=G_Pos+610%>" text="금액"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+540%>" right="<%=G_Pos+610%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_재료비합계" view="false"> > <HEADER <%=GH_Line_1%> left="<%=G_Pos+610%>" right="<%=G_Pos+750%>" text="재료비"/> > </COLUMN> > <COLUMN id="id_재료비단가" refcolid="재료비단가" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+610%>" right="<%=G_Pos+680%>" text="단가"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+610%>" right="<%=G_Pos+680%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_재료비" refcolid="재료비" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+680%>" right="<%=G_Pos+750%>" text="금액"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+680%>" right="<%=G_Pos+750%>"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_노무비합계" view="false"> > <HEADER <%=GH_Line_1%> left="<%=G_Pos+750%>" right="<%=G_Pos+890%>" text="노무비"/> > </COLUMN> > <COLUMN id="id_노무비단가" refcolid="노무비단가" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+750%>" right="<%=G_Pos+820%>" text="단가"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+750%>" right="<%=G_Pos+820%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_노무비" refcolid="노무비" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+820%>" right="<%=G_Pos+890%>" text="금액"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+820%>" right="<%=G_Pos+890%>" align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_경비합계" view="false"> > <HEADER <%=GH_Line_1%> left="<%=G_Pos+890%>" right="<%=G_Pos+1030%>" text="경비"/> > </COLUMN> > <COLUMN id="id_경비단가" refcolid="경비단가" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+890%>" right="<%=G_Pos+960%>" text="단가"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+890%>" right="<%=G_Pos+960%>"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_경비" refcolid="경비" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_2%> left="<%=G_Pos+960%>" right="<%=G_Pos+1030%>" text="금액"/> > <VIEW <%=GV_Line_2%> left="<%=G_Pos+960%>" right="<%=G_Pos+1030%>" lign="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_비고" refcolid="비고" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_3%> left="<%=G_Pos+1030%>" right="<%=G_Pos+1290%>" text="비고"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos+1030%>" right="<%=G_Pos+1290%>"align="leftcenter"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_제요율적용여부" refcolid="제요율적용여부" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_3%> left="<%=G_Pos+1290%>" right="<%=G_Pos+1360%>" text="제요율적용"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos+1290%>" right="<%=G_Pos+1360%>"/> > <CHILD type="edit" ime="0"/> > </COLUMN> > <COLUMN id="id_순번" refcolid="순번" index="<%=++G_Idx%>"> > <HEADER <%=GH_Line_3%> left="<%=G_Pos+1360%>" right="<%=G_Pos+1430%>" text="순번"/> > <VIEW <%=GV_Line_3%> left="<%=G_Pos+1360%>" right="<%=G_Pos+1430%>"/> > <CHILD type="edit" ime="0"/> > </COLUMN> ></COLUMNINFO> >'> ></object> > >[ 공통 스크립트 ] >// Grid 공통 초기화 >function G_GridInitM(grid) >{ > if (grid == null) > { > C_msgOk("Grid 공통 초기화 에러 : " + G_MSG_GRID_NULL, "에러"); > return false; > } > > try > { >// !!Grid 공통 초기화 추가!! > grid.DragDrop = 0; > grid.Draw = true; > grid.Enable = true; > grid.EnableDblClkAtNotEditable = false; > grid.FixHScroll = false; > grid.FixVScroll = false; > grid.FocusRect = false; > grid.IME = 0; > grid.Resize = 1; > grid.Sort = true; > grid.ViewHeader = true; > } > catch (e) > { > C_msgOk("Grid 공통 초기화 설정 에러 : " + e.message, "에러"); > return false; > } > > return true; >} > >// DataSet 등록 >function G_addDataSetM(aDataset, aTrans, aGrid, aServiceURL, aDataSetTitle) >{ > if (aDataset == null) > { > C_msgOk("DataSet 등록 에러 : " + G_MSG_DATASET_NULL, "에러"); > return false; > } > > try > { > var objDataSetInfo = new G_DataSetInfoM(aDataset, aTrans, aGrid, aServiceURL, aDataSetTitle); > > if (G_arrDataSets == null) G_arrDataSets = new Array(); > > G_arrDataSets.push(objDataSetInfo); > } > catch (e) > { > C_msgOk("DataSet 등록 에러 : " + e.message, "에러"); > return false; > } > > try > { > G_DataSetInit(aDataset); > // DataSet 관련 이벤트 > aDataset.attachEvent ("OnRowInserted", new Function("row", "G_OnRowInserted(" + aDataset.id + ", row);")); > aDataset.attachEvent ("OnRowDeleted", new Function("row", "G_OnRowDeleted(" + aDataset.id + ", row);")); > aDataset.attachEvent ("OnDataError", new Function("row", "colid", "G_OnDataError(" + aDataset.id + ", row, colid);")); > aDataset.attachEvent ("CanRowPosChange", new Function("row", "return G_CanRowPosChange(" + aDataset.id + ", row);")); > aDataset.attachEvent ("OnRowPosChanged", new Function("row", "G_OnRowPosChanged(" + aDataset.id + ", row);")); > aDataset.attachEvent ("OnColumnChanged", new Function("row", "colid", "G_OnColumnChanged(" + aDataset.id + ", row, colid);")); > aDataset.attachEvent ("OnLoadStarted", new Function("G_OnLoadStarted(" + aDataset.id + ");")); > aDataset.attachEvent ("OnLoadCompleted", new Function("rowcnt", "G_OnLoadCompleted(" + aDataset.id + ", rowcnt);")); > aDataset.attachEvent ("OnLoadError", new Function("G_OnLoadError(" + aDataset.id + ");")); > aDataset.attachEvent ("OnLoadProcess", new Function("rowcnt", "G_OnLoadProcess(" + aDataset.id + ", rowcnt);")); > aDataset.attachEvent ("OnFilter", new Function("row", "return G_OnFilter(" + aDataset.id + ", row);")); > aDataset.attachEvent ("OnLayoutChanged", new Function("colcnt", "G_OnLayoutChanged(" + aDataset.id + ", colcnt);")); > aDataset.attachEvent ("OnRowsetChanged", new Function("G_OnRowsetChanged(" + aDataset.id + ");")); > } > catch (e) > { > C_msgOk("DataSet 초기화 에러 : " + e.message, "에러"); > return false; > } > > try > { > if (aTrans != null) > { > G_TransInit(aTrans); > > // Transaction 관련 이벤트 > aTrans.attachEvent ("OnSuccess", new Function("G_OnSuccess(" + aDataset.id + ", " + aTrans.id + ");")); > aTrans.attachEvent ("OnFail", new Function("G_OnFail(" + aDataset.id + ", " + aTrans.id + ");")); > } > } > catch (e) > { > C_msgOk("Transaction 초기화 에러 : " + e.message, "에러"); > return false; > } > > try > { > if (aGrid != null) > { > aGrid.DataID = aDataset.id; > > G_GridInitM(aGrid); > > // Grid 관련 이벤트 > if (aGrid.ColumnInfo != null) > { > aGrid.attachEvent ("OnChar", new Function("G_OnCharM(" + aDataset.id + ", " + aGrid.id + ");")); > aGrid.attachEvent ("OnCloseUp", new Function("colid", "index","G_OnCloseUpM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnCollapsed", new Function("index", "G_OnCollapsedM(" + aDataset.id + ", " + aGrid.id + ", index);")); > aGrid.attachEvent ("OnCollapsing", new Function("index", "return G_OnCollapsingM(" + aDataset.id + ", " + aGrid.id + ", index);")); > aGrid.attachEvent ("OnCopy", new Function("CellSelected", "BlockSelected", "G_OnCopyM(" + aDataset.id + ", " + aGrid.id + ", CellSelected, BlockSelected);")); > aGrid.attachEvent ("OnDrag", new Function("colid", "index", "return G_OnDragM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnDragging", new Function("colid", "index", "return G_OnDraggingM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnDrop", new Function("colid", "index", "data", "G_OnDropM(" + aDataset.id + ", " + aGrid.id + ", index, colid, data);")); > aGrid.attachEvent ("OnDropDown", new Function("colid", "index", "G_OnDropDownM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnEnter", new Function("colid", "index", "G_OnEnterM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnError", new Function("ecode", "estring", "G_OnErrorM(" + aDataset.id + ", " + aGrid.id + ", ecode, estring);")); > aGrid.attachEvent ("OnExit", new Function("colid", "index", "orgtext", "return G_OnExitM(" + aDataset.id + ", " + aGrid.id + ", index, colid, orgtext);")); > aGrid.attachEvent ("OnExpanded", new Function("index", "G_OnExpandedM(" + aDataset.id + ", " + aGrid.id + ", index);")); > aGrid.attachEvent ("OnExpanding", new Function("index", "return G_OnExpandingM(" + aDataset.id + ", " + aGrid.id + ", index);")); > aGrid.attachEvent ("OnFirstUp", new Function("G_OnFirstUpM(" + aDataset.id + ", " + aGrid.id + ");")); > aGrid.attachEvent ("OnHeadCheckClick", new Function("G_OnHeadCheckClickM(" + aDataset.id + ", " + aGrid.id + ");")); > aGrid.attachEvent ("OnKeyDown", new Function("kcode,keystate", "return G_OnKeyDownM(" + aDataset.id + ", " + aGrid.id + ", kcode,keystate);")); > aGrid.attachEvent ("OnKillFocus", new Function("G_OnKillFocusM(" + aDataset.id + ", " + aGrid.id + ");")); > aGrid.attachEvent ("OnLastDown", new Function("G_OnLastDownM(" + aDataset.id + ", " + aGrid.id + ");")); > aGrid.attachEvent ("OnLButtonDblClk", new Function("type","index", "colid", "x", "y", "G_OnLButtonDblClkM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); > aGrid.attachEvent ("OnLButtonDown", new Function("type","index", "colid", "x", "y", "G_OnLButtonDownM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); > aGrid.attachEvent ("OnLButtonUp", new Function("type","index", "colid", "x", "y", "G_OnLButtonUpM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); > aGrid.attachEvent ("OnMenuSelected", new Function("code", "text", "G_OnMenuSelectedM(" + aDataset.id + ", " + aGrid.id + ", code, text);")); > aGrid.attachEvent ("OnPaste", new Function("colid", "index", "G_OnPasteM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnPopup", new Function("colid", "index", "flag", "G_OnPopupM(" + aDataset.id + ", " + aGrid.id + ", index, colid, flag);")); > aGrid.attachEvent ("OnRButtonDblClk", new Function("type","index", "colid", "x", "y", "G_OnRButtonDblClkM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); > aGrid.attachEvent ("OnRButtonDown", new Function("type","index", "colid", "x", "y", "G_OnRButtonDownM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); > aGrid.attachEvent ("OnRButtonUp", new Function("type","index", "colid", "x", "y", "G_OnRButtonUpM(" + aDataset.id + ", " + aGrid.id + ", type, index, colid, x, y);")); > aGrid.attachEvent ("OnSelChange", new Function("colid", "index", "return G_OnSelChangeM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnSelChanged", new Function("colid", "index", "G_OnSelChangedM(" + aDataset.id + ", " + aGrid.id + ", index, colid);")); > aGrid.attachEvent ("OnSetFocus", new Function("G_OnSetFocusM(" + aDataset.id + ", " + aGrid.id + ");")); > } > } > } > catch (e) > { > C_msgOk("Grid 초기화 에러 : " + e.message, "에러"); > return false; > } > > return true; >}
3580 no image mxcombo(select박스) 클릭시 열리지가 않아요
최진호
2294 2010-07-09
3579 no image mxcombo(select박스) 클릭시 열리지가 않아요
기술지원48
1531 2010-07-20
안녕하세요? 문의하신 정보를 토대로 하여 확인해보았으나 문의하신 내용과 같은 박스 클릭시 리스트가 펼쳐지지 않는 문제는 발생하지 않았습니다. 테스트를 진행한 PC 의 경우 os : winXP IE : IE6,IE7,IE8 Component Ver. : MxCombo (1.2.1.50) <object id=cmb_ElwRghtTpKindCd classid=clsid:D8BCC087-4710-427D-B2E4-A4B93B6EA197 height=120 width=150> <param name=cbdata value="전체^1,표준^2,조기종료^3"> <param name=cbdatacolumns value="text,code"> <param name=index value="0"> <param name=inheritcolor value="False"> <param name=listcount value="3"> <param name=listexprformat value="text"> <param name=sort value="False"> <param name=synccombodata value="False" <param name=xpstyle value="True"> </object> 감사합니다. >게시판을 이용해 주셔서 감사합니다. >다음양식에 맞게 입력해주세요. > >* 고객시스템명 : KRX >* 문의할 Component명 및 버전 : >* DataSet 버전 : >* Tr 버전 : >* 문의 유형(질문/요청/참조) : >* 내용 : > ><mxcombo id="cmb_ElwRghtTpKindCd" class="TopCondition_01" left="200" top="10" width="90" height="20"> > <property cbdata="전체^1,표준^2,조기종료^3" cbdatacolumns="text,code" index="0" inheritcolor="False" listcount="3" listexprformat="text" sort="False" synccombodata="False" xpstyle="True"></property> ></mxcombo> >전체, 표준, 조기종료의 값을 넣었는데 화면에서 mxcombo 박스 선택시 열리지가 않습니다. >선택후 화살표로 이동하면 값이 들어가 있는건 확인했습니다. >부디 빠른 답변좀 부탁드립니다.
3578 no image grid 내의 lux combo editable 설정 문제 첨부 파일
원성필
1760 2010-07-09
3577 no image grid 내의 lux combo editable 설정 문제
기술지원97
1549 2010-07-27
3576 no image 에러 내용 질문입니다
임석우
1442 2010-07-09
3575 no image 에러 내용 질문입니다
기술지원31
1528 2010-07-13
3574 no image 그리드내의 컬럼 관련 질문입니다
오유진
2009 2010-07-08
3573 no image 그리드내의 컬럼 관련 질문입니다
기술지원31
1672 2010-07-13
3572 no image 2010.07 max 1.2.1 제공 패치
박노성
1490 2010-07-07
3571 no image 2010.07 max 1.2.1 제공 패치
기술지원10
1438 2010-07-07
Selected no image MGridU의 컬럼 표시 문제 첨부 파일
유해정
1467 2010-07-06
3569 no image MGridU의 컬럼 표시 문제
기술지원40
1410 2010-07-07
3568 no image MGridU의 컬럼 표시 문제
유해정
1435 2010-07-08
3567 no image Report Computaion Column 질문..
박건태
1454 2010-07-05
3566 no image Report Computaion Column 질문..
기술지원40
1489 2010-07-07
Tag List
XE Login