cancel
Showing results for 
Search instead for 
Did you mean: 

Can we make the image interactive?

former_member210804
Active Participant
0 Kudos

Hi friends,

I need a help.

I have  created two images with names EMPTY.jpg and OCCUPIED.jpg.

Now if i want to select EMPTY.jpg, it should replace with OCCUPIED.jpg.

(like ticket reservaton ). Is it possible ? if yes,pls let me know.

Best Regards,

Narasimha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

there is no event for image UI element BUT you can do

1. create a table with one row and one column.

2. swap element defination with image.

3. use on_select event.

Answers (1)

Answers (1)

amy_king
Active Contributor
0 Kudos

Hi Narasimha,

If you are at NW7 EhP2 or higher, you could use an IconButton and swap the image source in the button's onAction event.

Cheers,

Amy

former_member210804
Active Participant
0 Kudos

Thank you Amy.

former_member210804
Active Participant
0 Kudos

Thank you Amy.