Interface: Optgroup

Oracle® JavaScript Extension Toolkit (JET)
15.1.0

F83698-01

Since:
  • 4.1.0
Module:
  • ojselectcombobox

QuickNav

Fields

Description

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


Usage

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

For additional information visit:


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.