SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.pasteEnabled  property

If it is true, the user can get the data of clipboard and paste in the selected cell area by ctrl+v keys during run time. 

Defaults to true.

Getter
function pasteEnabled(): Boolean
Setter
function setPasteEnabled(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            pasteEnabled: true,
            copyEnabled: true
        }
    });
Code -2
    grid.setEditOptions({
        pasteEnabled: true,
        copyEnabled: true
    });
Code -3
    grid.editOptions().setPasteEnabled(true);
See Also
copyEnabled
pasteBooleanFormat
pasteDatetimeFormat
Examples
Clipboard Paste
Clipboard Copy