SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.7]   Back  Forward

DataLudi.EditOptions.useCopyKey  property

If it is true, when type "Ctrl+'(quotation marks)" key in the state of not displaying the editor in editing row, it will get the cell value of the previous row, copy it, and move to the next cell. 

Defaults to true.

Getter
function useCopyKey(): Boolean
Setter
function setUseCopyKey(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            useCopyKey: false,
            enterToTab: true
        }
    });
Code -2
    grid.setEditOptions({
        useCopyKey: false,
        enterToTab: true
    });
Code -3
    grid.editOptions().setUseCopyKey(true);
See Also
useTabKey
enterToTab
Examples
Edit Keys
Editing