I have a column of a table with images defined like so:
wqTable.addColumn(new sap.ui.table.Column({
label: new sap.ui.commons.Label({text: "Photo"}),
template: new sap.ui.commons.Image({customData: new sap.ui.core.CustomData({
key:'zoom-image'
}).bindProperty("value", "ImageSource")}).bindProperty("src", "ImageThumbnail").addStyleClass("image-constraint"),
width: "400px"
}));
and a JSON object like so:
var aData [{id: 6, GateType: "AGS", DamageInfo: "", ImageSource: "http://v0-230.netapp-n1.omhq.uprr.com/iee_2a/NOV/08/110813SO23200045765/snapshot-chassis0-lsright-full.jpg", ImageThumbnail: "http://v0-230.netapp-n1.omhq.uprr.com/iee_2a/NOV/08/110813SO23200045765/snapshot-chassis0-lsright-thumb.jpg", Date: "02/03/2014 11:21", GateDirection: "Out-Gate", Location: "Global 1", checked: false}];
It doesn't seem like the customData is binding to the ImageSource correctly. How should I be defining the custom data for this column of images?