cancel
Showing results for 
Search instead for 
Did you mean: 

Info for populating icons in the table

Former Member
0 Kudos

Hi,

I am getting the value from sap like yes or no. I have to show for YES with some ICON and as well as NO.

please help.

Thanks in advance

dav

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Dav,

If it is ALV table you can achieve your requirement easily. Otherwise you can add one more colomn to your table and then insert the Image as a cell editor.

Create one separate attribute and bind it to the Image UI element.

Then Based on the condition you can insert the icons what ever you want. Before that ensure that the icons are avilable in the MIME repository.

Thanks.

Former Member
0 Kudos

You need to create the table with the cell editor for the column as "Image", and the icon name has to be specified in the Image Source property. Since you want different icons for different rows, you can store the icon name as a context attribute itself in the same node and bind this to the Source property. So while populating the table, you need to set this value to whatever icon you want, and it will be displayed.

Regards,

Nithya