Interface: Option

Oracle® JavaScript Extension Toolkit (JET)
5.0.0

E90577-01

QuickNav

Fields

Option

Version:
  • 5.0.0
Since:
  • 4.1.0
Module:
  • ojselectcombobox
The oj.Option interface defines API for a leaf option of the JET select and combobox. Use oj.Option for a leaf option and oj.Optgroup for a group option.
  • value is a required attribute. It must be a row key in the data provider.
  • label is an optional attribute. If missing, String(value) is used.

See oj.Optgroup for group option

See oj.ojComboboxOne#options

See oj.ojComboboxMany#options

See oj.ojSelectOne#options

See oj.ojSelectMany#options

Since:
  • 4.1.0

Fields

disabled :boolean

disabled is an optional attribute. When disabled is true, the option item is not selectable.

label :string

label is an optional attribute. It is the display label for the option item. If it's missing, String(value) will be used.

value :Object

value is required attribute. It must be the row key in the data provider because JET Select and Combobox use "value" to fetch the displayed "label".