SMART datagrid v.1 > Classes > EditOptions
如果为true,就会在运行粘贴时,以行为单位,运行验证。
默认值为false.
   grid.setOptions({
        edit: {
            forceRowValidationWhenPaste: true,
            forceColumnValidationWhenPaste: true
        }
    });
    grid.setEditOptions({
        forceRowValidationWhenPaste: true,
        forceColumnValidationWhenPaste: true
    });
    grid.editOptions().setForceRowValidation(true);