cancel
Showing results for 
Search instead for 
Did you mean: 

Group of images in a table ce

devendervb
Contributor
0 Kudos

hi,

Her in a WD application,

1) I need 3 images(Red,Green, Yellow) in a table cell, where they will enable and disable as per the value with respect to its row cell value.

As of now I know how to display single image, but need 3 images, where one of them is enabled.

Please help me.

Accepted Solutions (1)

Accepted Solutions (1)

sid_sunny
Contributor
0 Kudos

Hi Devender,

I guess you can use grouped column for this purpose and if the design does not suits your requirement a possible work around coud be to have three images with one enable in each and assiging the image as the cell value.

Regards

Sid

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

you can use the Icons which are delivered with the portal or the WebAS.

for Greenlight use ICON_GREEN_LIGHT ~sap_s_tl_y.gif or jpeg

for yellowlight use ICON_YELLOW_LIGHT ~sap_s_tl_y.gi

and for redlight use ICON_RED_LIGHT sap_s_tl_r.gif

Or you use your own ICONs thes must be stored unter the folder of images in the package name of you Web Dynpro Component.

Than you can access it easyly with the name of your ICON

In the table fill the attribute which is a string, with the string of the above names.

You can do this with a calculated attribute.

Regards

Gunter

devendervb
Contributor
0 Kudos

Gunter,

Thanks alot for your answer.

for me I need three images in a single table cell.

at the same time need to enable as per calculations.

Calculation part is ok, but how can I add 3 attributes into a table varient