datasetControl과 무관한 그리드 row 선택 함수 추가

main
이범준 4 months ago
parent be438e765a
commit e596c21bac

@ -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');
}
/************************************************************************** /**************************************************************************
* 클립보드 복사 * 클립보드 복사
**************************************************************************/ **************************************************************************/

Loading…
Cancel
Save