SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.4]   Back  Forward

DataLudi.EditOptions.pasteByCell  property

If it is true, when paste multiple cells, it will save the value by setValue instead of updateRow

onValueChanged event will be fired whenever pasting individual cell value. And, you can provide a consistent UI by specifying the same property as updateByCell

Defaults to false.

Getter
function pasteByCell(): Boolean
Setter
function setPasteByCell(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            updateByCell: true,
            pasteByCell: true
        }
    });
Code -2
    grid.setEditOptions({
        updateByCell: true,
        pasteByCell: true
    });
Code -3
    grid.editOptions().setPasteByCell(true);
See Also
updateByCell
pasteCallback
GridDataSet.setValue
TreeDataSet.setValue
onValueChanged
onValueChanged
Examples
Clipboard Paste
Clipboard Copy