returns an editor object
row | string|number|object | the row id |
column | string|number | the column id |
object | an object with the editor state and info |
// return the last opened editor
var editor = view.getEditor();
// return a specific editor
var editor = view.getEditor(3, "year");
// or
var editor = view.getEditor({row:3, column:"year"});
{
column: column id,
config: editor configuration object,
focus: the method that sets focus for an editor,
getInputNode: the method that returns the input node of an editor,
getValue: the method that returns the editor value,
node: the HTML node of the editor,
render: the method that renders the editor,
setValue: the method that sets value for an editor,
value: the current editor value
}
You can access all the methods of an editor through this object.
//get value
var value = some.getEditor().getValue();
//set value
some.getEditor().setValue(new_value);
//set focus
some.getEditor().focus();