SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.enterToNextRow  property

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

Defaults to false.

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