optionIndex of HTMLOptions, Methods Webix Docs
index of the option with specified ID
number optionIndex(id ID);
ID
| number | index of the option |
Example
$$("segmented1").optionIndex(1);
Details
Since options are stored in the array, option indexes are numbered staring from 0.