ComboModel
internal
TypeScript
Combo model class, which can be used as record type for listItemTpl and displayValueRenderer configs in TypeScript applications.
Use when Combo's displayField equals text and items are configured with one of the value formats listed below:
items : [
{value : 'small', text : 'Small'},
{value : 'medium', text : 'Medium'},
{value : 'large', text : 'Large'},
]
or
items : [
['small', 'Small'],
['medium', 'Medium'],
['large', 'Large'],
]
or
items : ['Small', 'Medium', 'Large']
Class provides the value and text data fields for the Combo's list record.
No results
Fields
Fields belong to a Model class and define the Model data structure-
Display text for the Combo's list record.
-
Value for the Combo's list record.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of ComboModel class, or subclass thereof.
-
Identifies an object as an instance of ComboModel class, or subclass thereof.