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
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.