SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.singlePaste  property

If it is true, even if there are multiple cell values in clipboard data, it will only paste in focused cell. 

Defaults to false.

Getter
function singlePaste(): Boolean
Setter
function setSinglePaste(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            singlePaste: false,
            singleCopy: false
        }
    });
Code -2
    grid.setEditOptions({
        singlePaste: false,
        singleCopy: false
    });
Code -3
    grid.editOptions().setSinglePaste(false);
See Also
singleCopy
Cell Editing Overview
Examples
Clipboard
Cell Editing