diff --git a/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js b/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js index 48b35337..0935c5a1 100644 --- a/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js +++ b/src/main/webapp/resources/js/fims/cmmn/fims-cmmnUtil.js @@ -1,3 +1,16 @@ +/************************************************************************** +* 그리드 row 선택 +**************************************************************************/ +function setCurrentRow(tdElement){ + let tr = tdElement.parentElement(); + let tbody = tr.parentElement(); + + for (let sibling of tdElement.parentNode.children) { + sibling.classList.remove('current-row'); + } + tr.classList.add('current-row'); +} + /************************************************************************** * 클립보드 복사 **************************************************************************/