cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Which image was selected?

cladeira
1-Newbie

Which image was selected?

I have the following the scenario:


Customer will select one product from a list of products on a vending machine. The list of products is presented as images.


I want to capture which product was selected. 


Any idea how to do it? Any thoughts will help...


Thanks in advance, 

Claudio

5 REPLIES 5
paic
1-Newbie
(To:cladeira)

How are you displaying the images? What widget, what source?

If your source is an infotable, you can use the Selected row for example.

cladeira
1-Newbie
(To:paic)

Thanks for the reply, but I dont have the design yet.


I want to have the images as a matrix, so the grid didnt work. Because I can have only the row selected. I tried to use the image widget, but it doesnt have an event. 

Not sure what else i can use. 



paic
1-Newbie
(To:cladeira)

Have you considered using a Repeater?

cladeira
1-Newbie
(To:paic)

Hi, 

Unfortunately the repeater doesn't have the table concept. Let's say that I want my user to select just one cell of a table. In the scenario of the vending machine, i want him to select row 3, column 4. 


Got the point? Do I have to develop it myself? 


Thanks in advance.


 



paic
1-Newbie
(To:cladeira)

The repeater absolutely has the table concept, it is driven by a table.

I'm not sure if you 'care' about the Row/Width positioning of the items, but I would use a Mashup with an image inside a repeater that does horizontal progression and wraps.

Top Tags