Customizing id in Combo box.

I have an object which does not have id field and want to use it in combo box.
The object rather has some other property which is unique.
I want to change the value attribute to my custom unique key.

http://webix.com/snippet/db69e318

But, couldn’t find any way.
Any help would be appreciated.

try to use custom datatype http://webix.com/snippet/986bbb59

Also, how can I clear the options and parse new ones?
I get an error, while I try to clear the options.
http://webix.com/snippet/fe456148

By default, such components expect id+value combination. While template is enough to change the data representation, the ID is a required attribute. You can set info.id as id through a custom datatype:

http://webix.com/snippet/19564883

Or using the custom proxy object, if the data comes from the server.

Thank you.