Expand my Community achievements bar.

Adding images to rows in table

Avatar

Former Community Member
Hello everyone,



I'm having some trouble in adding different images to a column of a table. I'm using SAP Netweaver to create an interactive form that will show a table with 3 columns: two of them are text fields, and i have no problem with them. The big issue is when i want to show an image, that will vary from row to row. The data coming from SAP Netweaver allready has the URL info on each image for each row. I added this line of code (javascript) in the initialize event of the Image Field:



this.value.image.href = xfa.resolveNode("xfa.record.Table[" + this.parent.index + "].URL").value



i'm getting the image from the first row in all rows. What am i doing wrong ? can someone please help me ?



Thank you,

Nuno
0 Replies