Interface: Optgroup

Oracle® JavaScript Extension Toolkit (JET)
4.2.0

E91398-01

QuickNav

Fields

oj. Optgroup

Version:
  • 4.2.0
The oj.Optgroup interface defines API for a group option of the JET Select and Combobox. Use oj.Option for a leaf option and oj.Optgroup for a group option.
  • children is a required attribute to group the Option children.
  • label is a required attribute

See oj.Option for a leaf option

See oj.ojComboboxOne#options

See oj.ojComboboxMany#options

See oj.ojSelectOne#options

See oj.ojSelectMany#options

Fields

children :Array.<oj.Option|oj.Optgroup>

Children is a required attribute. It is used to group its Option or Optgroup children.

disabled :boolean

disabled is an optional attribute. When specified, all options in the group is not selectable.

label :string

Label is a required attribute. It is used to display the group label.