SMART datagrid v1.4 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.commitWhenNoEdit  property

true면 편집 중인 셀의 값이 변경되지 않아도 commit 한다. 

기본값은 false.

Getter
function commitWhenNoEdit(): Boolean
Setter
function setCommitWhenNoEdit(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            commitWhenNoEdit: true
        }
    });
Code -2
    grid.setEditOptions({
        commitWhenNoEdit: true
    });
Code -3
    grid.editOptions().setCommitWhenNoEdit(true);
See Also
GridBase.commitEditor
GridBase.commit
GridBase.cancel
셀 편집 개요
Examples
셀 편집