cancel
Showing results for 
Search instead for 
Did you mean: 

Layering two combo boxes without Dynamic Visibility

0 Kudos

Hi All,

I am looking to use two combo boxes (one on top of the other), however only one should be seen at a time.

This is dictated by a toggle button between Division and Region.

Normally this isn't too difficult, but I have queries tied to the destination cell when the selection changes. When I toggle between Division and Region, the combobox that gets suppressed drops its value (thus changing the cell contents and refreshes the query unnecessarily)

When I toggle back to the original selection, the selected cell does come back, but it changes the contents of the cell and the query refreshes yet again.

I was hoping to hide the combo box instead of dynamic visibility and keep the values selected, just not visible to the user.

Any ideas?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

former_member207052
Active Contributor
0 Kudos

Just a thought, can you try placing the combo boxes in separate canvas containers and see how it works ?

(set dynamic visibility for the container itself rather than the combobox)

Else, you can set dynamic visibility on another component (say canvas container with the same skin as your background or a image) that will overlay(hide) your combo box.

Regards,

Naras

Message was edited by: Narashimman K S

Answers (2)

Answers (2)

0 Kudos

Adding the combo boxes to a different Canvas Container worked a like a charm! Not sure how or why it works this way, but definitely a very useful tip.

As for the actual solution I used, I simply created a new Canvas Container and added both combo boxes to the container. I was able to use the Dynamic Visibility on the combo boxes themselves and the value stayed. Again, I'm not sure why the values stayed when in another Container, but they are.

Thanks!

Robert

former_member182541
Active Contributor
0 Kudos

Hi Robert,

You are correct once the value is passed to the concerned cell and when you are trying to come back to the initial selection it will refresh the queries again. Can you try with using two push button where one to clear your selection and one to push the values on the trigger to cell, where it should act as a submit button.

Hope this helps!!!

--SumanT