getEditor

возвращает объект редактора

object getEditor(string|number|object row, [string|number column] );
rowstring|number|objectID ряда или объект с позицией
columnstring|numberid столбца
objectобъект редактора

Example

// вернет последний открытый редактор
var editor = view.getEditor();
 
// вернет редактор по ID ряда и сталбца
var editor = view.getEditor(3, "year");
// или
var editor = view.getEditor({row:3, column:"year"});

Details

Объект Editor

{
    column: ID колонки,
    config: editor configuration object,
    focus: method that sets focus for an editor,
    getInputNode: method that return the input node of an editor,
    getValue: method that return editor value   ,
    node: HTML node of the editor,
    render: method that renders the editor,
    setValue: method that sets value for an editor,
    value: current editor value,
}

Объект дает вам доступ ко всем методам редактора:

//get value
var value = some.getEditor().getValue();
//set value
some.getEditor().setValue( new_value );
//set focus
some.getEditor().focus();
See also
Наверх
If you have not checked yet, be sure to visit site of our main product Webix html5 ui library and page of datatable js product.