SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.0]   Back  Forward

DataLudi.EditOptions.hideOnLastCell  property

如果为true,就会在编辑行的最后一个单元格中,输入EnterTab键时,将会提交单元格。 

为提交行编辑,可以使用commitOnLastCell。 

默认值为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
单元格编辑概述
Examples
单元格编辑
编辑键