SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.0]   Back  Forward

DataLudi.EditOptions.hideOnLastCell  property

If it is true, when type Enter or Tab key in the last cell in editing row, it will Commit the cell. 

In order to commit row editing, you can use commitOnLastCell

Defaults to true.

Getter
function hideOnLastCell(): Boolean
Setter
function setHideOnLastCell(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            hideOnLastCell: true
        }
    });
Code -2
    grid.setEditOptions({
        hideOnLastCell: true
    });
Code -3
    grid.editOptions().setHideOnLastCell(true);
See Also
commitOnLastCell
crossWhenExitLast
useTabKey
GridBase.commit
Cell Editing Overview
Examples
Cell Editing
Edit Keys