|
@@ -474,7 +474,8 @@
|
|
|
scwin.scrollY_grdData1();
|
|
|
|
|
|
if(scwin.FocusedRow != null){
|
|
|
- scwin.scrollToLastFocusedRow();
|
|
|
+ grdData1.setFocusedCell(scwin.FocusedRow, "ccNm", false);
|
|
|
+ scwin.FocusedRow = null;
|
|
|
}
|
|
|
}
|
|
|
});
|
|
@@ -530,19 +531,6 @@
|
|
|
cell.attr('title',cell.text());
|
|
|
});
|
|
|
};
|
|
|
-
|
|
|
- /***************************************************************************
|
|
|
- * 함수명 : scwin.scrollToLastFocusedRow
|
|
|
- * 기능 : 저장 후 마지막에 선택한 로우 로 이동
|
|
|
- ***************************************************************************/
|
|
|
- scwin.scrollToLastFocusedRow = function() {
|
|
|
- document.querySelector("#tabc_layout_contents_1811_body_grdData1_scrollY_div").scroll({left:0,top:50000,behavior:"smooth"});
|
|
|
- setTimeout(function() {
|
|
|
- grdData1.setTopRowIndex( scwin.FocusedRow );
|
|
|
- grdData1.setFocusedCell(scwin.FocusedRow, "ccNm", false);
|
|
|
- scwin.FocusedRow = null;
|
|
|
- }, 800);
|
|
|
- };
|
|
|
|
|
|
/***************************************************************************
|
|
|
* 함수명 : scwin.getComonDefaultRow
|
|
@@ -719,7 +707,7 @@
|
|
|
keyMoveEditMode="true" moveKeyEditMode="true" rowNumHeaderValue="No" rowNumStatusResize="true" rowNumVisible="true" rowNumWidth="35"
|
|
|
rowStatusHeaderValue="상태" rowStatusVisible="true" rowStatusWidth="35" scrollByColumn="false" scrollByColumnAdaptive="false"
|
|
|
style="height: 200px;" summaryAuto="false" useShiftKey="true" visibleRowNum="" enterKeyMove="none" readOnly="true"
|
|
|
- ev:oncellclick="scwin.grdData1_oncellclick" fixedColumn="" ev:onscrolly="scwin.scrollY_grdData1" syncScrollId="" mergeCells="">
|
|
|
+ ev:oncellclick="scwin.grdData1_oncellclick" fixedColumn="" ev:onscrolly="scwin.scrollY_grdData1" syncScrollId="" mergeCells="" defaultCellHeight="28">
|
|
|
<w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption>
|
|
|
<w2:header style="" id="header1">
|
|
|
<w2:row style="" id="row1">
|
|
@@ -786,7 +774,7 @@
|
|
|
<w2:column width="70" id="progActRtMeasr" inputType="textarea" textAlign="left"></w2:column>
|
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" id="empPmNm" blockSelect="false"
|
|
|
displayMode="label" textAlign="center">
|
|
|
- </w2:column>
|
|
|
+ </w2:column>
|
|
|
<w2:column removeBorderStyle="false" width="70" inputType="text" id="empPeNm" blockSelect="false"
|
|
|
displayMode="label" textAlign="center">
|
|
|
</w2:column>
|