SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.appendWhenInsertKey  property

If it is true, when type insert key, it will start to append rows after the last row instead of inserting rows. 

Defaults to false.

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