SMART datagrid v1.4 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.validateOnEdited  property

true면 셀 편집을 완료하거나 셀에 붙여넣기를 할 때 validation을 실행한다. 

기본값은 false.

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