Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var oTemp = new sap.m.ColumnListItem({
- vAlign: "Middle",
- cells: [
- new sap.m.VBox({
- items: [
- new sap.m.Image({
- src: {
- path: "myModel>ImageLink",
- },
- densityAware:false,
- decorative: false,
- error: function(oEvent) {
- this.setSrc(oEvent.getSource().getProperty("src"));
- }
- })
- ]
- })
- ]
- });
- otable.bindItems({
- path: "myModel>/Images",
- template: oTemp
- });
- <m:Table id="imageTable">
- <m:headerToolbar>
- <m:OverflowToolbar>
- <m:Title text="some text"/>
- </m:OverflowToolbar>
- </m:headerToolbar>
- <m:columns>
- <m:Column>
- </m:Column>
- </m:columns>
- </m:Table>
Add Comment
Please, Sign In to add comment