|
|
|
|
@ -70,6 +70,14 @@ function newRent02030Control(pageName, doctx="[data-doctx='rent02030']") {
|
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
|
ctrl.onCurrentChange = (item) => {
|
|
|
|
|
Apply.fromDataset.currentRow(ctrl.dataset, item, ctrl.find("[name='tbodyList']"));
|
|
|
|
|
|
|
|
|
|
if(item == null){
|
|
|
|
|
$(ctrl.find("[name='btnOK']")).prop("disabled", true);
|
|
|
|
|
$(ctrl.find("[name='btnUpdate']")).prop("disabled", true);
|
|
|
|
|
} else {
|
|
|
|
|
$(ctrl.find("[name='btnOK']")).prop("disabled", false);
|
|
|
|
|
$(ctrl.find("[name='btnUpdate']")).prop("disabled", false);
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// 선택(체크) 변경 이벤트
|
|
|
|
|
|