SMART datagrid v.1 > Classes > ListCellEditor

Back  Forward

DataLudi.ListCellEditor.textReadOnly  property

If it is true, you will not be able to update the value in editor, and can change the value of data cell only through list box item selection. 

If readOnly is true, the list box cannot be expanded in the first place. 

Defaults to false.

Getter
function textReadOnly(): Boolean
Setter
function setTextReadOnly(value: Boolean)
Code -1
    var columns = [{
            name: "CustomerID",
            fieldName: "CustomerID",
            width: "120",
            editor: {
                type: "list",
                readOnly: true,
                ...
            }
        }, 
        ...
    ];
    grid.setColumns(column);
See Also
CellEditor.readOnly
Examples
List Cell Editor