Combo Box
Die Combo Box erlaubt die Auswahl aus DropDown Listen. Diese können verschieden konfiguriert werden, wie z.B. mit der Möglichkeit der automatischen Vervollständigung.
In diesem Artikel lesen Sie folgende Inhalte:
Tipp! Hier sehen Sie mehr über die Komponente.
1. Combo Box Properties
Properties |
Beschreibung |
---|---|
ID |
Bezeichnung / Benamung der Combo Box |
Color scheme |
Initiale Farbschemen:
|
Konfiguriert in Color Schemes |
|
CSS class |
Elemente einer Gruppe/Klasse zuordnen, für die dann bestimmte Formatierungen gelten |
Tab index |
Sprungreihenfolge durch Tab Taste |
Access |
Zugriffsrechte auf Komponente |
Key Column / Display |
Key Column: Primärschlüssel des Datensatzes Display: Spaltenwert- /inhalt, welcher im Drop Down der Combo Box angezeigt werden soll
![]()
|
Display |
![]() |
Writeable |
|
Integraded label / Label |
3 Auswahlmöglichkeiten:
![]()
![]() |
Empty text |
Anzeigetext, wenn keine Einstellungen bei Integraded label / Label getroffen sind (“Do not use”-Einstellung) ![]() |
No data text |
Anzeigetext, wenn keine passenden Daten zur Sucheingabe enthalten sind ![]() |
Hint |
Mouse Over Hinweis / Text |
State storing / Session variable
|
|
2. Combo Box Funktionalitäten
Events
Event |
Beschreibung |
---|---|
selectionChanged |
This event fires when the selection was changed anyhow. |
changedByUser |
This event fires when the selection was changed by the user. |
enterKey |
This event fires when the enter key was pressed. |
Actions
Kategorisierung |
Action |
Beschreibung |
---|---|---|
State |
enable() |
Enable the combo box. |
disable() |
Disable the combo box. |
|
setEnabled(enabled) |
Enable/disable the combo box. |
|
show() |
Shows the combo box. |
|
hide() |
Hides the combo box. |
|
setVisible(visible) |
Show/hide the combo box. |
|
writeable() |
Make the combo box writeable. |
|
readonly() |
Make the combo box read-only. |
|
setReadOnly(readOnly) |
Set the combo box to read-only/writeable. |
|
focus() |
Sets focus on the combo box. |
|
Data |
refresh() |
Refresh |
clearSelection() |
Clear the selection. |
|
selectValue(value) |
Select a value of the combo box. |
|
selectKey(key) |
Select a key of the combo box. |
|
selectFirst() |
Select the first item of the combo box. |
|
selectFirstIfEmpty() |
Select the first item of the combo box if there is no selection. |