SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.readOnly  property

If it is true, you will not be able to edit in data cell included in this column. 

The editor will be displayed when editable is true, and if this property is true, you will not be able to input in editor. 

Defaults to false.

Getter
function readOnly(): Boolean
Setter
function setReadOnly(value: Boolean)
Note
Code -1
    $('#setReadOnly').click(function () {
        var column = grid.focusedColumn();
        column.setReadOnly(true);
    });
See Also
Editable & ReadOnly
editable
Cell Editing Overview
editOptions
Examples
ReadOnly & Editable
Cell Editing