Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

sap.m.table - change image in row dynamically

hi,

i've a table implemented with images (small image icons) as one of the columns. that images column has a formatter which displays different images depending on the value that comes from oData service.

now the requirement is at reach row level: table has a action (link or buttom) which does some processing and comes back with the update row. and here the value of the image change is changed, i'm unable to figure it out on how to change the image when its values is change?

for ex:

for val=1 show image=Male Icon

for val=2 show image=Female Icon

for val=3 show image=Group Icon etc...

for val=0 show image=None

Former Member
Not what you were looking for? View more on this topic or Ask a question