SMART datagrid v.1 > Classes > EditOptions

[ grids ver.1.3.5]   Back  Forward

DataLudi.EditOptions.showEditorWhenDblClicked  property

If it is true, when double click the mouse in the same data cell, the editor will be displayed. 

It should be the state of which can display the editor like editable

Defaults to true.

Getter
function showEditorWhenDblClicked(): Boolean
Setter
function setShowEditorWhenDblClicked(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            editable: true,
            showEditorWhenDblClicked: false
        }
    });
Code -2
    grid.setEditOptions({
        editable: true,
        showEditorWhenDblClicked: false
    });
Code -3
    grid.editOptions().setShowEditorWhenDblClicked(true);
See Also
editable
Editable & ReadOnly
Examples
Cell Editing