SMART datagrid v1.4 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.checkReadOnlyWhenPaste  property

truereadOnlytrue이거나 CellStyle를 통해 readOnly로 설정된 데이터셀은 붙여넣기에서 제외된다. 

기본값은 false.

Getter
function checkReadOnlyWhenPaste(): Boolean
Setter
function setCheckReadOnlyWhenPaste(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            pasteEnabled: true,
            checkReadOnlyWhenPaste: true
        }
    });
Code -2
    grid.setEditOptions({
        pasteEnabled: true,
        checkReadOnlyWhenPaste: true
    });
Code -3
    grid.editOptions().setCheckReadOnlyWhenPaste(true);
See Also
pasteEnabled
isWritable
editable
readOnly
셀 편집 개요
Examples
셀 편집
클립보드