Interface: Optgroup

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

QuickNav

Fields


Optgroup

Version:
  • 7.1.0
Since:
  • 4.1.0
Module:
  • ojselectcombobox

Module usage

See JET Module Loading for an overview of module usage within JET.

Typescript Import Format
//To use this interface, import as below.
import {Optgroup} from "ojs/ojselectcombobox";

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

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.

(nullable) 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.