SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.editable  property

If it is true, you can display the editor in data cell included in this column. 

Even though the editor is displayed, you will not be able to update the value if it is readOnly

Defaults to true.

Getter
function editable(): Boolean
Setter
function setEditable(value: Boolean)
Note
Code -1
    var col = grid.focusedIndex().column;
    if (!col.editable()) {
        col.setEditable(true);
    }
See Also
Editable & ReadOnly Overview
readOnly
editable
Cell Editing Overview
editOptions
Examples
ReadOnly & Editable
Cell Editing