SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.enterToTab  property

If it is true, when type enter key, it will move to the next cell. 

If enterToNextRow is true, it will move the next row of the same column location. 

Defaults to true.

Getter
function enterToTab(): Boolean
Setter
function setEnterToTab(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            enterToTab: true,
            enterToNextRow: true
        }
    });
Code -2
    grid.setEditOptions({
        enterToTab: true,
        enterToNextRow: true
    });
Code -3
    grid.editOptions().setEnterToTab(true);
See Also
crossWhenExitLast
appendWhenExitLast
enterToNextRow
enterToEdit
useTabKey
Cell Editing Overview
Examples
Edit Keys
Cell Editing