How do I create a static combo box inside a browse ?
example output that i would like to display:
column 1
combo-box1
column 2
column3
combo-box2
side note: would also like to know how to add a dynamic combo box.
You can define the cell as a combo-box in the DEFINE BROWSE statement.
DEFINE BROWSE brComboBox
QUERY qTT DISPLAY
fieldA
fieldB
fieldC VIEW-AS COMBO-BOX LIST-ITEMS "a,b,c,d"
fieldD
ENABLE fieldC
WITH NO-ROW-MARKERS SEPARATORS SIZE 70 BY 4.5 FONT 10 FIT-LAST-COLUMN.
If you're working with the AppBuilder GUI you simply edit the DISPLAY portion of the browse so it contains all fields:
fieldA
fieldB
fieldC VIEW-AS COMBO-BOX LIST-ITEMS "a,b,c,d"
fieldD
ENABLE fieldC
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.