Editor issue

Hi
Small issue in custom editor:

setValue:function(value){
    this.getInputNode(this.node).value = value;
}

the “value” param is coming as empty. My treetable columns are taking values from custom template, not a static value param in data.
Any suggestions?

If you have column config as follows

{ id:"fullname", template:"#firstname# #lastname#"

component will provide obj.fullname as parameter for setValue, which, in fact can be undefined. After finishing the edit process it will store result value back to obj.fullname

So to work correctly you need to have a column.id set to the name of property which you want to edit.

Starting from Webix 2.3 setValue will receive two parameters. value and obj. So you will be able to access all properties of data object in the custom editor.

Any ETA for v2.3?

Will be released on March 24