Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
dynamic image in table row
anfans
I want to add dynamic image in a table, that means for each table row, show different image.
I use script fetch method to get the image byteArray, put each image byteArray to a data set row, and the dynamic image also link to this data set row.
However, in the preview, I only get the image for row 0, and the row 1, 2 ... always show the image of row 0.
Anybody can help?
How to show different image in each table row?
Find more posts tagged with
Comments
anfans
I want to add dynamic image in a table, that means for each table row, show different image.
I use script fetch method to get the image byteArray, put each image byteArray to a data set row, and the dynamic image also link to this data set row.
However, in the preview, I only get the image for row 0, and the row 1, 2 ... always show the image of row 0.
Anybody can help?
How to show different image in each table row?
mwilliams
Do you have the image data in your dataSet?
anfans
Yes, I use a column named "Image" in the dataSet, and put the byteArray data to this "Image" column.
This is part of my script code:
if(rowcount<c.length){
row["Image"]=c[rowcount].getTrendByte(); //getTrendByte() returns a byteArray
rowcount++;
return true;
}else{
return false;
}
mwilliams
Where are you putting this code?