SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.moveInSelection  property

If it is true, when operate cell moving by TAB key or ENTER key within the selection area, it will not move out of the selection area. 

If it is false, the selection area will be released and the cell focus will move. If it is the single selection area, it will move out unconditionally. 

Defaults to true.

Getter
function moveInSelection(): Boolean
Setter
function setMoveInSelection(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            moveInSelection: false,
            moveByArrowKeys: false,
            useTabKey: false
        }
    });
Code -2
    grid.setEditOptions({
        moveInSelection: false,
        moveByArrowKeys: false,
        useTabKey: false
    });
Code -3
    grid.editOptions().setMoveInSelection(false);
See Also
enterToTab
moveByArrowsKeys
Examples
Selection