Skip to Content
0
Dec 18, 2018 at 08:25 PM

How to add images to a dynamically sized grid table?

364 Views

I'm currently building a table based off this post's best answer: https://answers.sap.com/questions/345848/populate-grid-table-sapui5-dynamically.html.

Right now I want to display photos in the table instead of numbers. I've tried doing this by setting item to "project/webapp/img/exampleImage.png". However, that just leads to me displaying the string, "/sideProject/webapp/img/cat.jpg" in all of the grids instead of the image. How do I get this image displayed?