refactor : 소스 정리

main
이범준 2 years ago
parent 117b2b9eee
commit 9a96a810cc

@ -386,7 +386,7 @@ Date Author Description
break; break;
} }
} }
,setDblClickEvent: function (idx) { ,onDblClickGrid: function (idx) {
ARR_GRID[idx].off('dblclick'); ARR_GRID[idx].off('dblclick');
@ -711,7 +711,7 @@ Date Author Description
}); });
} }
fnBiz.setDblClickEvent(idx); fnBiz.onDblClickGrid(idx);
resetFlag = false; resetFlag = false;
} }

@ -304,7 +304,7 @@ Date Author Description
break; break;
} }
} }
,setDblClickEvent: function (idx) { ,onDblClickGrid: function (idx) {
ARR_GRID[idx].on('dblclick', function (props) { ARR_GRID[idx].on('dblclick', function (props) {
popupDiv = 'total'; popupDiv = 'total';
const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => { const rowDatas = ARR_GRID[idx].store.data.rawData.map(d => {
@ -693,7 +693,7 @@ Date Author Description
fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData); fnBiz.pagePopup(popupDiv, ARR_NAV[idx].gridInfo.curRowData);
}) })
} }
fnBiz.setDblClickEvent(idx); fnBiz.onDblClickGrid(idx);
} }
const initGrid = () => { const initGrid = () => {
ARR_GRID[0] = TuiGrid.of(gridOptions, gridDatasource, (res) => gridResponseReset(res, 0)); ARR_GRID[0] = TuiGrid.of(gridOptions, gridDatasource, (res) => gridResponseReset(res, 0));

@ -315,7 +315,7 @@ Date Author Description
break; break;
} }
} }
,setDblClickEvent: function (idx) { ,onDblClickGrid: function (idx) {
ARR_GRID[idx].off('dblclick'); ARR_GRID[idx].off('dblclick');
@ -728,7 +728,7 @@ Date Author Description
}); });
} }
fnBiz.setDblClickEvent(idx); fnBiz.onDblClickGrid(idx);
resetFlag = false; resetFlag = false;
} }

Loading…
Cancel
Save