SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.selectionBasePaste  property

If it is true, it will start to paste from the first cell of the selection area. 

If it is false, it will start to paste from the focused cell. 

Defaults to false.

Getter
function selectionBasePaste(): Boolean
Setter
function setSelectionBasePaste(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            selectionBasePaste: true,
            singleModePaste: false
        }
    });
Code -2
    grid.setEditOptions({
        selectionBasePaste: true,
        singleModePaste: false
    });
Code -3
    grid.editOptions().setSelectionBasePaste(true);
See Also
singleModePaste
singleModeCopy
GridBase.focusedIndex
Cell Editing Overview
Examples
Clipboard
Cell Editing