Browse Source

eTEC E&C Standard autofit 적용

DESKTOP-HMLPH8S\kim 2 years ago
parent
commit
047d40d3c8

+ 12 - 12
src/main/webapp/ux/qc/qc0102/QC01020001U.xml

@@ -294,7 +294,7 @@
 				;
 				;
 				
 				
 				var gridStr = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList1" '
 				var gridStr = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList1" '
-						+'autofit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData1"   tooltipDisplay="true" '
+						+'adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData1"   tooltipDisplay="true" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:160px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:160px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData1_oncellclick" ev:onbodymouseover="scwin.grdData1_onbodymouseover" ev:onscrolly="">'
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData1_oncellclick" ev:onbodymouseover="scwin.grdData1_onbodymouseover" ev:onscrolly="">'
 		       	+ '<w2:header id="header1" style="">'
 		       	+ '<w2:header id="header1" style="">'
@@ -361,7 +361,7 @@
 				;
 				;
 				
 				
 				var gridStr2 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList2" '
 				var gridStr2 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList2" '
-						+'autofit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData2" tooltipDisplay="true" '
+						+'adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData2" tooltipDisplay="true" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:200px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:200px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData2_oncellclick" ev:onbodymouseover="scwin.grdData2_onbodymouseover">'
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData2_oncellclick" ev:onbodymouseover="scwin.grdData2_onbodymouseover">'
 		       	+ '<w2:header id="header1" style="">'
 		       	+ '<w2:header id="header1" style="">'
@@ -430,7 +430,7 @@
 				;
 				;
 				
 				
 				var gridStr3 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList3" '
 				var gridStr3 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList3" '
-						+'autofit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData3" tooltipDisplay="true" '
+						+'adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData3" tooltipDisplay="true" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:250px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:250px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData3_oncellclick" ev:onbodymouseover="scwin.grdData3_onbodymouseover">'
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData3_oncellclick" ev:onbodymouseover="scwin.grdData3_onbodymouseover">'
 		       	+ '<w2:header id="header1" style="">'
 		       	+ '<w2:header id="header1" style="">'
@@ -497,7 +497,7 @@
 				;
 				;
 				
 				
 				var gridStr4 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList4" '
 				var gridStr4 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList4" '
-						+'autofit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData4" tooltipDisplay="true" '
+						+'adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData4" tooltipDisplay="true" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:400px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:400px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData4_oncellclick" ev:onbodymouseover="scwin.grdData4_onbodymouseover">'
 						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData4_oncellclick" ev:onbodymouseover="scwin.grdData4_onbodymouseover">'
 		       	+ '<w2:header id="header1" style="">'
 		       	+ '<w2:header id="header1" style="">'
@@ -536,18 +536,18 @@
 				
 				
 				
 				
 				dcdataList5.setJSON(result.dcdataList5);
 				dcdataList5.setJSON(result.dcdataList5);
-
+				
 				var gridHeader5 ="";
 				var gridHeader5 ="";
 		       	var gridBody5="";
 		       	var gridBody5="";
 
 
 				gridHeader5 = '<w2:row id="row1" style="">'
 				gridHeader5 = '<w2:row id="row1" style="">'
-					    + '<w2:column removeBorderStyle="false" width="1640" inputType="text" style="height:20px;" id="'+dsHeaderUpList5.getCellData(0,"docId")+ '" value="' + dsHeaderUpList5.getCellData(0,"stndDocNm")+ '" '
-						+'blockSelect="false" displayMode="label" colSpan="8" rowSpan="">'
+					    + '<w2:column removeBorderStyle="false" width="1640" inputType="text" style="height:21px;" id="'+dsHeaderUpList5.getCellData(0,"docId")+ '" value="' + dsHeaderUpList5.getCellData(0,"stndDocNm")+ '" '
+						+'blockSelect="false" displayMode="label" colSpan="8">'
 						+'</w2:column>'
 						+'</w2:column>'
 				        + '</w2:row>'	
 				        + '</w2:row>'	
 				        + '<w2:row id="row3" style="">'
 				        + '<w2:row id="row3" style="">'
 					for(var i = 0 ; i < dsHeaderDownList5.getRowCount() ; i++){
 					for(var i = 0 ; i < dsHeaderDownList5.getRowCount() ; i++){
-						gridHeader5 +='<w2:column removeBorderStyle="false" width="205" inputType="text" id="'+dsHeaderDownList5.getCellData(i,"docId")+ '" value="' + dsHeaderDownList5.getCellData(i,"stndDocNm")+ '" '
+						gridHeader5 +='<w2:column removeBorderStyle="false" width="405" inputType="text" id="'+dsHeaderDownList5.getCellData(i,"docId")+ '" value="' + dsHeaderDownList5.getCellData(i,"stndDocNm")+ '" '
 							+'blockSelect="false" displayMode="label">'
 							+'blockSelect="false" displayMode="label">'
 							+'</w2:column>'
 							+'</w2:column>'
 					}
 					}
@@ -556,7 +556,7 @@
 
 
 				gridBody5 = '<w2:row id="row5" style="">'
 				gridBody5 = '<w2:row id="row5" style="">'
 								for(var i = 0 ; i < dsHeaderDownList5.getRowCount() ; i++){
 								for(var i = 0 ; i < dsHeaderDownList5.getRowCount() ; i++){
-										gridBody5 +='<w2:column removeBorderStyle="false" width="205" inputType="text" id="'+dsHeaderDownList5.getCellData(i,"docId")+ '"  '
+										gridBody5 +='<w2:column removeBorderStyle="false" width="105" inputType="text" id="'+dsHeaderDownList5.getCellData(i,"docId")+ '"  '
 										+'blockSelect="false" displayMode="label" textAlign="center" dataType="text" >'
 										+'blockSelect="false" displayMode="label" textAlign="center" dataType="text" >'
 										+'</w2:column>'
 										+'</w2:column>'
 								}
 								}
@@ -564,9 +564,9 @@
 				;
 				;
 				
 				
 				var gridStr5 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList5" '
 				var gridStr5 = '<w2:gridView xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms" readOnly="true" class="wq_gvw wq_gvw_noFocus" dataList="data:dcdataList5" '
-						+'autofit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData5" tooltipDisplay="true" '
+						+'adaptive="crosstab" adaptiveThreshold="600" autoFit="allColumn" fixedColumnWithHidden="true" focusMode="row" id="grdData5" tooltipDisplay="true" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:370px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
 						+'rowStatusWidth="50" scrollByColumn="true" style="height:370px;" fixedColumn="" rowStatusHeaderValue="상태" rowStatusVisible="false" '
-						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData4_oncellclick" ev:onbodymouseover="scwin.grdData5_onbodymouseover">'
+						+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:onbodymouseover="scwin.grdData5_onbodymouseover">'
 		       	+ '<w2:header id="header1" style="">'
 		       	+ '<w2:header id="header1" style="">'
 		       	+ gridHeader5
 		       	+ gridHeader5
 		       	+'</w2:header>'
 		       	+'</w2:header>'
@@ -575,7 +575,7 @@
 		       	+'</w2:gBody>'
 		       	+'</w2:gBody>'
 		       	+'</w2:gridView>' ;
 		       	+'</w2:gridView>' ;
 				grdData5.setGridStyle(WebSquare.xml.parse( gridStr5 , true ));
 				grdData5.setGridStyle(WebSquare.xml.parse( gridStr5 , true ));
-
+				
             }
             }
         });
         });
     };	
     };	

+ 0 - 13
src/main/webapp/ux/qc/qc0102/QC01020002U.xml

@@ -211,7 +211,6 @@
 		    	scwin.v_lastLeftRowIndex = 0;
 		    	scwin.v_lastLeftRowIndex = 0;
 		   	 	scwin.fnTreeList();
 		   	 	scwin.fnTreeList();
 		   	 	
 		   	 	
-		   	 	//scwin.treeList_onlabelclick(param_data.docId, "" ,5);
 		   	 	scwin.tabControl1_ontabclick("", 1);
 		   	 	scwin.tabControl1_ontabclick("", 1);
     		}else if(param_data.guBun2 == "GUDL"){
     		}else if(param_data.guBun2 == "GUDL"){
     			
     			
@@ -220,7 +219,6 @@
 		    	scwin.v_lastLeftRowIndex = 0;
 		    	scwin.v_lastLeftRowIndex = 0;
 		   	 	scwin.fnTreeList();
 		   	 	scwin.fnTreeList();
 		   	 	
 		   	 	
-		   	 	//scwin.treeList_onlabelclick(param_data.docId, "" ,5);
 		   	 	scwin.tabControl1_ontabclick("", 2);
 		   	 	scwin.tabControl1_ontabclick("", 2);
     		}
     		}
     	
     	
@@ -236,7 +234,6 @@
 		    	scwin.v_lastLeftRowIndex = 0;
 		    	scwin.v_lastLeftRowIndex = 0;
 		   	 	scwin.fnTreeList();
 		   	 	scwin.fnTreeList();
 		   	 	
 		   	 	
-		   	 	//scwin.treeList_onlabelclick(param_data.docId, "" ,5);
 		   	 	scwin.tabControl1_ontabclick("", 1);
 		   	 	scwin.tabControl1_ontabclick("", 1);
     		}else if(param_data.guBun2 == "GUDL"){
     		}else if(param_data.guBun2 == "GUDL"){
     			tabControl1.setReadOnly( true );
     			tabControl1.setReadOnly( true );
@@ -244,7 +241,6 @@
 		    	scwin.v_lastLeftRowIndex = 0;
 		    	scwin.v_lastLeftRowIndex = 0;
 		   	 	scwin.fnTreeList();
 		   	 	scwin.fnTreeList();
 		   	 	
 		   	 	
-		   	 	//scwin.treeList_onlabelclick(param_data.docId, "" ,5);
 		   	 	scwin.tabControl1_ontabclick("", 2);
 		   	 	scwin.tabControl1_ontabclick("", 2);
     		}
     		}
     	}
     	}
@@ -784,14 +780,6 @@
 			<xf:group style="" id="contTop" class="contTop">
 			<xf:group style="" id="contTop" class="contTop">
 				<xf:group id="pgtbox" style="" class="pgtbox">
 				<xf:group id="pgtbox" style="" class="pgtbox">
 					<w2:textbox id="pageTitle" class="pgt_tit" label="eTEC Standard"></w2:textbox>
 					<w2:textbox id="pageTitle" class="pgt_tit" label="eTEC Standard"></w2:textbox>
-					<xf:group id="" class="pgt_icobox">
-						<w2:anchor id="btnBookmark" class="btn_bookmark" outerDiv="false" ev:onclick="scwin.btnBookmark_onclick">
-							<xf:label><![CDATA[즐겨찾기]]></xf:label>
-						</w2:anchor>
-						<w2:anchor outerDiv="false" id="btnHelpHover" class="btn_help_hover" ev:onclick="scwin.btnHelp_onclick">
-							<xf:label><![CDATA[도움말]]></xf:label>
-						</w2:anchor>
-					</xf:group>
 					<w2:anchor id="btnClose" class="btn_cm btn_search" outerDiv="true" ev:onclick="scwin.btnClose_onclick" style="float:right;">
 					<w2:anchor id="btnClose" class="btn_cm btn_search" outerDiv="true" ev:onclick="scwin.btnClose_onclick" style="float:right;">
 						<xf:label><![CDATA[eTEC E&C Standard]]></xf:label>
 						<xf:label><![CDATA[eTEC E&C Standard]]></xf:label>
 					</w2:anchor>
 					</w2:anchor>
@@ -801,7 +789,6 @@
 				<xf:group class="ly_column col_2">
 				<xf:group class="ly_column col_2">
 					<xf:group class="dfbox" id="dfbox1" style="">
 					<xf:group class="dfbox" id="dfbox1" style="">
 						<xf:group class="dfbox pt0" id="" style="">
 						<xf:group class="dfbox pt0" id="" style="">
-							<w2:textbox class="df_tit fl" id="" label="Standard Doc" style=""></w2:textbox>
 							<xf:group id="" style="" class="fr">
 							<xf:group id="" style="" class="fr">
 								<w2:anchor id="btnAll" class="btn_cm btn_search" outerDiv="true" ev:onclick="scwin.btnAll_onlabelclick">
 								<w2:anchor id="btnAll" class="btn_cm btn_search" outerDiv="true" ev:onclick="scwin.btnAll_onlabelclick">
 									<xf:label><![CDATA[전체 펼치기]]></xf:label>
 									<xf:label><![CDATA[전체 펼치기]]></xf:label>