SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.crossWhenExitFirst  property

If it is true, when move out of the first cell by shift + enter keys or shift + tab keys, it will move to the last cell of previous row. 

Defaults to false.

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