SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.editWhenClickFocused  property

If it is true, when click the current Focused Cell with mouse, the editor will be displayed. 

If editable is false or editable of cell column is false, it will not display the editor. 

Defaults to false.

Getter
function editWhenClickFocused(): Boolean
Setter
function setEditWhenClickFocused(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            editable: true,
            editWhenClickFocused: true
        }
    });
Code -2
    grid.setEditOptions({
        editable: true,
        editWhenClickFocused: true
    });
Code -3
    grid.editOptions().setEditWhenClickFocused(true);
See Also
editWhenFocused
editable
DataColumn.editable
GridBase.showEditor
Cell Editing Overview
Examples
Cell Editing