SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.startEditWhenPaste  property

If it is true, when the clipboard value is the single cell value and the current row is not editing state, it will start editing after pasting. 

If it is false and is not in row editing state, it will directly update the value of data field. 

Defaults to true.

Getter
function startEditWhenPaste(): Boolean
Setter
function setStartEditWhenPaste(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            startEditWhenPaste: false
        }
    });
Code -2
    grid.setEditOptions({
        startEditWhenPaste: false
    });
Code -3
    grid.editOptions().setStartEditWhenPaste(false);
See Also
commitWhenPaste
GridBase.commitEditor
Cell Editing Overview
Examples
Clipboard
Cell Editing