Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

how to display images in a table SAPUI5

$
0
0

Hi All,

 

How to display images in a table SAPUI5?

The imagesarestored in aDBtable.

 

So thatan image is displayed (butin each linethe same):

 

oTable.addColumn(new sap.ui.table.Column({

            label: new sap.ui.commons.Label({text: "Image"}),

           template: new sap.ui.commons.Image( { src : "/sap/opu/odata/sap/ZSA_PC2_SRV/MYPIC('o1zcDR0g7kIXqeJ1I{d9}W')/$value",  ...

 

withthis syntax,no image is displayed:


...

          template: new sap.ui.commons.Image( { src : "/sap/opu/odata/sap/ZSA_PC2_SRV/MYPIC('" + "{Gid}" + "')/$value", ...

 

Thanks

Bernhard Rücker


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>