set tabbar option active

it’s surely a silly question, but I wasn’t able to make it work;
I add options with addOption and the last one inserted is the active one;
afterwards I would like to set another option active, i.e. the first one;
didn’t find something like myTabBar.setActive(myOptionID);
how should it be done?

Hi, tabbar features getValue() and setValue methods to get and set the active option, which can be used to store the value of the latest tab and make it active after another option is added.

Check the following snippet, please http://webix.com/snippet/efa3d94a

wonderful! thanks Helga!