SMART datagrid v1.4 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.validateOnExit  property

true면 현재 셀의 위치가 변경될 때 validation을 실행한다. 

기본값은 false.

Getter
function validateOnExit(): Boolean
Setter
function setValidateOnExit(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            validateOnExit: true
            validateOnEdited: true,
        }
    });
Code -2
    grid.setEditOptions({
        validateOnExit: false,
        validateOnEdited: true
    });
Code -3
    grid.editOptions().setValidateOnExit(true);
See Also
validateOnEdited
EditValidation
DataColumn.validations
셀 편집 개요
Examples
셀 편집