SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.editorOptions  property

当设置editor时,被传递的设置信息的副本。 

如果在调用editor时,传递设置对象,就会以这个信息为标准,创建内部编辑器,并且设置对象的副本,将会被保管在这个属性值。 

Getter
function editorOptions(): Object
Code -1
    $('#chgList').click(function () {
        var col = grid.columnByName('codes');
        var options = col.editorOptions();
        if (options.textReadOnly) {
            col.setEditor({
                textReadOnly: false
            }
        }
    });
See Also
editor
Examples
文本单元格编辑器
列表单元格编辑器