getEditor
returns an editor object
function getEditor( // the record id id?: string): WebixEditorObject
Returns
Section titled “Returns”WebixEditorObject
an object with the editor state and info
Example
Section titled “Example”var editor = view.getEditor(row_id);
Details
Section titled “Details”If the id is not provided, the method returns info about the last opened editor.
Editor object
Section titled “Editor object”{ node: html_node_of_editor, value: initial_value_of_editor, config: configuration_of_editor}
You can access all methods of editor through this object
//get valuevar value = some.getEditor().getValue();//set valuesome.getEditor().setValue( new_value );//set focussome.getEditor().focus();
See also
Section titled “See also”Articles
API