SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.crossWhenExitLast  property

If it is true, when move out of the last cell by enter key or tab key, it will move to the first cell of next row. 

Defaults to false.

Getter
function crossWhenExitLast(): Boolean
Setter
function setCrossWhenExitLast(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            crossWhenExitFirst: true,
            crossWhenExitLast: true
        }
    });
Code -2
    grid.setEditOptions({
        crossWhenExitFirst: true,
        crossWhenExitLast: true
    });
Code -3
    grid.editOptions().setCrossWhenExitLast('#,##0.00');
See Also
useTabKey
Cell Editing Overview
Examples
Cell Editing
Edit Keys