SMART datagrid v.1 > Classes > EditOptions

Back  Forward

DataLudi.EditOptions.updatable  property

If this value is true and readOnly is false, the user can update the existing row. 

Defaults to true.

Getter
function updatable(): Boolean
Setter
function setUpdatable(value: Boolean)
Code -1
    grid.setOptions({
        edit: {
            updatable: true,
            insertable: true
        }
    });
Code -2
    grid.setEditOptions({
        updatable: true,
        insertable: true
    });
Code -3
    grid.editOptions().setUpdatable(true);
See Also
readOnly
appendable
insertable
deletable
Cell Editing Overview
Examples
Cell Editing