Interface: Optgroup

Oracle® JavaScript Extension Toolkit (JET)
5.0.0

E90577-01

QuickNav

Fields

Optgroup

Version:
  • 5.0.0
Since:
  • 4.1.0
Module:
  • ojselectcombobox
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

Since:
  • 4.1.0

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.