SMART datagrid v.1 > Classes > EditOptions
If it is true, it will exclude the data cell of which readOnly is true or which is set as readOnly through CellStyle from pasting.
Defaults to false.
grid.setOptions({
edit: {
pasteEnabled: true,
checkReadOnlyWhenPaste: true
}
});
grid.setEditOptions({
pasteEnabled: true,
checkReadOnlyWhenPaste: true
});
grid.editOptions().setCheckReadOnlyWhenPaste(true);