selects the option by its ID
value | string | a new value for the control |
webix.ui({
view:"segmented", options:[
{ id:"one", value:"One" },
{ id:"two", value:"Two"},
{ id:"three", value:"Three"}
]
});
...
$$(segmented1).setValue('two');
//choose the second option
Back to top