defines options for Radio, Segmented, and Tabbar
webix.ui({
view:"segmented",
options:[
{ id:"1", value:"Tablets" },
{ id:"2", value:"Injections" },
{ id:"3", value:"Liniments" }
]
});
Note that each object in the array must have the following properties:
Options can also be set as an array of strings. In this case the IDs and the values will be taken from these strings:
webix.ui({
view:"segmented",
options:[
"Tablets",
"Injections",
"Liniments"
]
});
Back to top