SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.appendWhenExitLast  property

If it is true, when edit in the last row and move out of the last cell by tab or enter key, it will start to append new rows. 

Defaults to false.

Getter
function appendWhenExitLast(): Boolean
Setter
function setAppendWhenExitLast(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            appendWhenExitLast: false,
            appendWhenInsertKey: false
        }
    });
Code -2
    grid.setEditOptions({
        appendWhenExitLast: false,
        appendWhenInsertKey: false
    });
Code -3
    grid.editOptions().setAppendWhenExitLast(false);
See Also
appendWhenInsertKey
Cell Editing Overview
Examples
Cell Editing
Edit Keys