단속 등록&열람: 그리드 업데이트 시 체크박스 상태 복원 로직 간소화 및 setTimeout 제거

dev
박성영 3 months ago
parent 7d2321b2fb
commit 8c75aa4e2d

@ -217,12 +217,12 @@
$("#totalCount").text('총 ' + totalCount.toLocaleString() + '건');
}
});
// 체크 이벤트
this.instance.on('onGridUpdated', function(ev) {
// 기존 선택된 행들의 체크박스 상태 복원
// setTimeout 옵션을 주지 않으면, 그리드 그리기전에 체크박스 체크 시도해서 정상동작안함...
// 문제는 대용량 데이터일때 정상동작 하지 않을 가능성이 높음....
setTimeout(function () {
ExmnrPopPopup.restoreCheckboxStates();
}, 100);
ExmnrPopPopup.restoreCheckboxStates();
});
// 체크 이벤트

Loading…
Cancel
Save