|
@@ -272,7 +272,7 @@
|
|
|
|
|
|
gridHeader = '<w2:row id="row1" style="">'
|
|
|
+ '<w2:column removeBorderStyle="false" width="320" inputType="text" style="height:21px;" id="'+dsHeaderUpList1.getCellData(0,"docId")+ '" value="' + dsHeaderUpList1.getCellData(0,"stndDocNm")+ '" '
|
|
|
- +'blockSelect="false" displayMode="label" colSpan="2" rowSpan="">'
|
|
|
+ +'blockSelect="false" displayMode="label" colSpan="'+ result.dsCount1 +'" rowSpan="">'
|
|
|
+'</w2:column>'
|
|
|
+ '</w2:row>'
|
|
|
+ '<w2:row id="row3" style="">'
|
|
@@ -293,7 +293,7 @@
|
|
|
gridBody += '</w2:row>'
|
|
|
;
|
|
|
|
|
|
- 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" dataList="data:dcdataList1" '
|
|
|
+'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" '
|
|
|
+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData1_oncellclick" ev:onbodymouseover="scwin.grdData1_onbodymouseover" ev:onscrolly="">'
|
|
@@ -339,7 +339,7 @@
|
|
|
|
|
|
gridHeader2 = '<w2:row id="row1" style="">'
|
|
|
+ '<w2:column removeBorderStyle="false" width="1640" inputType="text" style="height:21px;" id="'+dsHeaderUpList2.getCellData(0,"docId")+ '" value="' + dsHeaderUpList2.getCellData(0,"stndDocNm")+ '" '
|
|
|
- +'blockSelect="false" displayMode="label" colSpan="2" rowSpan="">'
|
|
|
+ +'blockSelect="false" displayMode="label" colSpan="'+ result.dsCount2 +'" rowSpan="">'
|
|
|
+'</w2:column>'
|
|
|
+ '</w2:row>'
|
|
|
+ '<w2:row id="row3" style="">'
|
|
@@ -360,7 +360,7 @@
|
|
|
gridBody2 += '</w2:row>'
|
|
|
;
|
|
|
|
|
|
- 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" dataList="data:dcdataList2" '
|
|
|
+'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" '
|
|
|
+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData2_oncellclick" ev:onbodymouseover="scwin.grdData2_onbodymouseover">'
|
|
@@ -408,7 +408,7 @@
|
|
|
|
|
|
gridHeader3 = '<w2:row id="row1" style="">'
|
|
|
+ '<w2:column removeBorderStyle="false" width="810" inputType="text" style="height:21px;" id="'+dsHeaderUpList3.getCellData(0,"docId")+ '" value="' + dsHeaderUpList3.getCellData(0,"stndDocNm")+ '" '
|
|
|
- +'blockSelect="false" displayMode="label" colSpan="2" rowSpan="">'
|
|
|
+ +'blockSelect="false" displayMode="label" colSpan="'+ result.dsCount3 +'" rowSpan="">'
|
|
|
+'</w2:column>'
|
|
|
+ '</w2:row>'
|
|
|
+ '<w2:row id="row3" style="">'
|
|
@@ -429,7 +429,7 @@
|
|
|
gridBody3 += '</w2:row>'
|
|
|
;
|
|
|
|
|
|
- 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" dataList="data:dcdataList3" '
|
|
|
+'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" '
|
|
|
+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData3_oncellclick" ev:onbodymouseover="scwin.grdData3_onbodymouseover">'
|
|
@@ -475,7 +475,7 @@
|
|
|
|
|
|
gridHeader4 = '<w2:row id="row1" style="">'
|
|
|
+ '<w2:column removeBorderStyle="false" width="810" inputType="text" style="height:21px;" id="'+dsHeaderUpList4.getCellData(0,"docId")+ '" value="' + dsHeaderUpList4.getCellData(0,"stndDocNm")+ '" '
|
|
|
- +'blockSelect="false" displayMode="label" colSpan="2" rowSpan="">'
|
|
|
+ +'blockSelect="false" displayMode="label" colSpan="'+ result.dsCount4 +'" rowSpan="">'
|
|
|
+'</w2:column>'
|
|
|
+ '</w2:row>'
|
|
|
+ '<w2:row id="row3" style="">'
|
|
@@ -496,7 +496,7 @@
|
|
|
gridBody4 += '</w2:row>'
|
|
|
;
|
|
|
|
|
|
- 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" dataList="data:dcdataList4" '
|
|
|
+'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" '
|
|
|
+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:oncellclick="scwin.grdData4_oncellclick" ev:onbodymouseover="scwin.grdData4_onbodymouseover">'
|
|
@@ -542,7 +542,7 @@
|
|
|
|
|
|
gridHeader5 = '<w2:row id="row1" style="">'
|
|
|
+ '<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">'
|
|
|
+ +'blockSelect="false" displayMode="label" colSpan="'+ result.dsCount5 +'">'
|
|
|
+'</w2:column>'
|
|
|
+ '</w2:row>'
|
|
|
+ '<w2:row id="row3" style="">'
|
|
@@ -563,7 +563,7 @@
|
|
|
gridBody5 += '</w2:row>'
|
|
|
;
|
|
|
|
|
|
- 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" dataList="data:dcdataList5" '
|
|
|
+'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" '
|
|
|
+'rowMouseOver="false" useShiftKey="true" visibleRowNum="" sortable="true" showSortableUseFilterList="true" useFilterList="true" ev:onbodymouseover="scwin.grdData5_onbodymouseover">'
|
|
@@ -833,8 +833,15 @@
|
|
|
if(dsContextList.getTotalRow() == 0){
|
|
|
contextGroup1.hide();
|
|
|
}else if(dsContextList.getTotalRow() > 0){
|
|
|
- contextGroup1.show();
|
|
|
- contextGroup1.setPosition( left + 700 , top + 500);
|
|
|
+
|
|
|
+ if(info.colIndex != 1){
|
|
|
+ contextGroup1.show();
|
|
|
+ contextGroup1.setPosition( left + 700 , top + 500);
|
|
|
+ }else if(info.colIndex == 1){
|
|
|
+ contextGroup1.show();
|
|
|
+ contextGroup1.setPosition( left + 280 , top + 500);
|
|
|
+ //contextGroup1.setPosition( left - 460 , top + 920);
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
|
|
@@ -850,6 +857,7 @@
|
|
|
var colIdx = info.colIndex;
|
|
|
var rowIdx2 = info.rowIndex - grdData5.getTopRowIndex();
|
|
|
var left = grdData5.getPosition( "left" ) + grdData5.getCellPosition( rowIdx2 , colIdx , "left" )+grdData5.getCellSize( rowIdx2 , colIdx , "width" );
|
|
|
+ var right = grdData5.getPosition( "right" ) + grdData5.getCellPosition( rowIdx2 , colIdx , "right" )+grdData5.getCellSize( rowIdx2 , colIdx , "width" );
|
|
|
var top = grdData5.getPosition( "top" ) + grdData5.getCellPosition( rowIdx2 , colIdx , "top" )+grdData5.getCellSize( rowIdx2 , colIdx , "height" );
|
|
|
|
|
|
for(var i = 0 ; i <= dsHeaderDownList5.getRowCount(); i++){
|
|
@@ -865,8 +873,14 @@
|
|
|
if(dsContextList.getTotalRow() == 0){
|
|
|
contextGroup1.hide();
|
|
|
}else if(dsContextList.getTotalRow() > 0){
|
|
|
- contextGroup1.show();
|
|
|
- contextGroup1.setPosition( left - 35 , top + 920);
|
|
|
+
|
|
|
+ if(info.colIndex != 7){
|
|
|
+ contextGroup1.show();
|
|
|
+ contextGroup1.setPosition( left - 35 , top + 920);
|
|
|
+ }else if(info.colIndex == 7){
|
|
|
+ contextGroup1.show();
|
|
|
+ contextGroup1.setPosition( left - 460 , top + 920);
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
]]></script>
|