SMART datagrid v1.4 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.forceColumnValidationWhenPaste  property

true면 붙여넣기를 실행할 때 셀 단위로 validation을 실행한다. 

forceRowValidationWhenPastetrue면 행 단위 validation을 먼저 실행한다. 

기본값은 false.

Getter
function forceColumnValidationWhenPaste(): Boolean
Setter
function setForceColumnValidationWhenPaste(value: Boolean)
Code -1
   grid.setOptions({
        edit: {
            forceRowValidationWhenPaste: true,
            forceColumnValidationWhenPaste: true
        }
    });
Code -2
    grid.setEditOptions({
        forceRowValidationWhenPaste: true,
        forceColumnValidationWhenPaste: true
    });
Code -3
    grid.editOptions().setForceColumnValidationWhenPaste(true);
See Also
forceRowValidationWhenPaste
GridBase.validations
DataColumn.validations
셀 편집 개요
Examples
셀 편집