Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
How can I display multiple images to repeater ?
I had reference below article.
Then we had created repeater object to display grid data from csv file.
https://community.ptc.com/t5/Vuforia-Studio/Repeater-widget-without-ThingWorx-connection/m-p/718896
So , When I set OK to result column , I want to display OK image on repeater.
When I set NG to result column , I want to display NG image on repeater.
I had tried set below script to filter.
But it is not good work.
So , Does anyone have the good solution ?
if(!window.my_filter2) window.my_filter2=1;
else {
if(window.my_filter2>= value.length) window.my_filter2=1;
else {window.my_filter2++;} }
if(value[window.my_filter2-1]['Result'] == 'OK'){
return('app/resources/Uploaded/OK.png');
}else if(value[window.my_filter2-1]['Result'] == 'NG'){
return('app/resources/Uploaded/NG.png');
}