Documentation

options

defines data items of the drop-down list

object options;

Example

webix.ui({
    view:"segmented", value:"one", options:[
            { id:"one", value:"One" },
            { id:"two", value:"Two"},
            { id:"three", value:"Three"}
            ]
})

See also

Details

The property is an array of objects, each of which presents a singular select option on a toolbar.

The objects in the array have 2 attributes:

  • id - (id) the item id
  • value - (string) the item label

Nore that the getValue() method returns the ID of selected option.

Back to top