Select Component: Setting new options

How can I change the options collection after the component has rendered? I want to update the options after another event has happened.

Thanks.

In case of select, you can reload the list of options by using

some.config.options = new_data;
some.refresh();

in case of richselect, you can use

var list = some.getList();
list.add({ id:1, value:"One" });

list is a normal webix.ui.list, so you can use all data API

http://docs.webix.com/api__refs__ui.list_methods.html

Excellent that did work!