How to get editor items from datatable

How to get editor items?
Last 3 lines return ‘undefined’ only.

var data = [
    {Column1: "One", Column2: 2},
    {Column1: "Two", Column2: 1}
];

webix.ui({
    id: "table",
    view: "datatable",
    data: data,
    editable: true,
    columns: [
        {
            id: "Column1",
        },
        {
            id: "Column2",
            header: "Column label",
            editor: "select",
            options: [
                {id: 1, value: 'One'},
                {id: 2, value: 'Two'},
            ]
        },
    ],
});

var table = $$('table');

console.log(table.getEditor("Column2"));
console.log(table.getEditor(1, "Column2"));
console.log(table.getEditorValue());

Hello,

an editor is available when you start editing. Try to set onAfterEditStart event handler and call getEditor there.

If you need to open a editor by API you can use editCell api

http://docs.webix.com/api__link__ui.treetable_editcell.html

Is there any way to get “options” from “Column2” ? Without start editing.

Hi @Maria @maksim , I found this question, I would like to do something like by clicking the addRow, it add the row for the datatable, focus on the editor, and show the combo drop down menu. Would it be possible?

Here is my snippet:
https://webix.com/snippet/d5441714

Hi, I got it by trying maksim suggestion with editcell.

Thanks.