Dropdown allow you to choose a value from List
3 concepts existing
1. The list of Id+Display text defined inside the field. In the Input field you see only the Display text, but the ID is saved
Use this type, if the simple variant is enough or if you don't want to see the ID
Note: if SQL command needed, then it take more time to open a window
2. In dropdown you see the Id and additional fields and choose the Id
This list is created in the moment of the view of the list
This variant don't reduce the performance from the program. Use this variant if possible
Source can be
- manual values
- sql select command
- odata (bsl) command
3. Other type of Dropdown as Date, Bitmap or Color
If dropdown value defined, the system insert automatically the dropdown icon right of the field
Object name of this dropdown icon is always object name + "_p", example "utf1_p"
It is possible to modify standard dropdowns. See dropdown.script
Open dropdown window:: use dropdown without properties:
dw_1.item.myfield.dropdown
Property |
Description |
---|---|
dropdown.addvalues |
|
dropdown.filedir |
|
dropdown.format |
|
dropdown.formatvalues |
|
dropdown.fromdw |
|
dropdown.fromfield=<column2> |
|
dropdown.select=<selectcommand> |
|
dropdown.bsl=<odata> |
|
dropdown.setvalues=<values> |
|
dropdown.translate |
Translate all Value Entrys from the value-List |
dropdown.script |
|
dropdown.values=.. |