hasChangedData (method)

시트 내에 변경된 내용(입력, 수정, 삭제)이 있는지 확인합니다.

Syntax

number hasChangedData();

Return Value

number : 수정된 내용이 있으면 1, 없으면 0

Example

window.onbeforeunload = function() {
    if(sheet.hasChangedData()) {
        return "시트에 수정된 내용이 있습니다.\n계속 진행시 수정하신 내용은 잃어버리게 됩니다.";
    }
}

Read More

Since

product version desc
core 8.0.0.0 기능 추가