cancel
Showing results for 
Search instead for 
Did you mean: 

ICON on List Box

Former Member
0 Kudos
700

Hi all,

Is it possible to have an icon as a value in the Dropdown listbox without using iterator? My client wants to see an icon in the place of the normal text character description when they do a dropdown for possible options.

I have already tried the following :

<htmlb:dropdownListBox id= "qsddl1"

table = "//returnsb/gt_status"

nameOfKeyColumn = "value"

nameOfValueColumn = "id"

selection = "//returnsb/p_svalue"

disabled = "false" />

where id is a 4 character field in the table (type icon_d) and contains for example value @xy@.

When I run the BSP @xy@ is displayed in the dropdown and not an icon.

Can anyone help?

Regards,

Jan.

athavanraja
Active Contributor
0 Kudos

thats totally a different thing. its not dropdown list box

Regards

Raja

View Entire Topic
Former Member
0 Kudos

Koen,

When assigning a value to build the table (ls_status-value = '<img src='s_B_MNGR.gif'> , the system complains about my syntax. Is there a specific way of doing it?

The same happens when I try a full path for the image.

Jan

athavanraja
Active Contributor
0 Kudos

here is the correct syntax

ls_status-value = '<img src="s_B_MNGR.gif">'

but i have already tried and it doesnt work.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

not only images, you cannot even do a html formatting for your options in <select>

the only other option i have seen is grouping your options with <optgroup>

Regards

Raja