SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.noSelectWhenEdit  property

If it is true, when display the editor by F2 key, it will not select all but will display the caret at the end of text. 

Defaults to false.

Getter
function noSelectWhenEdit(): Boolean
Setter
function setNoSelectWhenEdit(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            noSelectWhenEdit: true
        }
    });
Code -2
    grid.setEditOptions({
        noSelectWhenEdit: true
    });
Code -3
    grid.editOptions().setNoSelectWhenEdit(true);
See Also
Cell Editing Overview
GridBase.showEditor
enterToTab
enterToNextRow
Examples
Cell Editing