Treetable editor:"select" error

I have a treetable with editor select here is the code

{
id: “Status”,
editor: “richselect”, options: { 1:“Approved”, 2:“Rejected” },
header: [{ text: “Status”, rowspan: “2” }],
width: 100
}

error message:
Uncaught TypeError: Cannot read property ‘defaults’ of undefined webix.js:5

Please be sure that you are using latest Webix 1.8
Above code works correctly with it.

http://webix.com/snippet/c0dfd418

Actually it is happen because of the sample provided for custom editor on http://docs.webix.com/desktop__editing.html
here:

webix.editors = {
    "text":{
        focus:function(){
            this.getInputNode(this.node).focus();
            this.getInputNode(this.node).select();
        },
        getValue:function(){
            return this.getInputNode(this.node).value;
        },
        setValue:function(value){
            this.getInputNode(this.node).value = value;
        },
        getInputNode:function(){
            return this.node.firstChild;
        },
        render:function(){
            return webix.html.create("div", {
                "class":"webix_dt_editor"
            }, "<input type='text'>");
        }
    },

that override the select editor i fixed it to :

webix.editors.myeditor = {
        focus:function(){
            this.getInputNode(this.node).focus();
            this.getInputNode(this.node).select();
        },
        getValue:function(){
            return this.getInputNode(this.node).value;
        },
        setValue:function(value){
            this.getInputNode(this.node).value = value;
        },
        getInputNode:function(){
            return this.node.firstChild;
        },
        render:function(){
            return webix.html.create("div", {
                "class":"webix_dt_editor"
            }, "<input type='text'>");
        }};

and worked.