SMART datagrid v.1 > Classes > EditOptions
If it is true, when operate pasting, if the clipboard data is the value of multiple rows and is being edited, it will commit first.
If it is false, it will Cancel editing.
Defaults to false.
grid.setOptions({
edit: {
commitWhenPaste: true,
commitWhenNoEdit: false
}
});
grid.setEditOptions({
commitWhenPaste: true,
commitWhenNoEdit: false
});
grid.editOptions().setCommitWhenPaste(true);