SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.moveByArrowKeys  property

If it is true, when type LEFT key in the state of the location of editing caret is first in cell editor, it will move to the previous cell, and when type RIGHT key in the state of the location of editing caret is last, it will move to the next cell. 

If it is false, it will not move out of the editor. 

Defaults to true.

Getter
function moveByArrowKeys(): Boolean
Setter
function setMoveByArrowKeys(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            moveByArrowKeys: false,
            useTabKey: false
        }
    });
Code -2
    grid.setEditOptions({
        moveByArrowKeys: false,
        useTabKey: false
    });
Code -3
    grid.editOptions().setMoveByArrowKeys(false);
See Also
enterToTab
useTabKey
enterToEdit
crossWhenExitFirst
crossWhenExitLast
moveInSelection
Examples
Edit Keys
Cell Editing