SMART datagrid v.1 > Classes > EditOptions
If it is true, when occur an error like validation failure or format conversion failure during pasting, it will stop pasting and throw an exception.
If it is false, it will not update or append rows in which have occurred error and continue running the rest rows. If want to run validation of each row or cell during pasting, you should specify forceRowValidationWhenPaste, forceColumnValidationWhenPaste properties as true first.
Defaults to true.
grid.setOptions({
edit: {
stopPasteOnError: false,
forceRowValidationWhenPaste: true,
forceColumnValidationWhenPaste: true
}
});
grid.setEditOptions({
stopPasteOnError: false,
forceRowValidationWhenPaste: true,
forceColumnValidationWhenPaste: true
});
grid.editOptions().setStopPasteOnError(false);