Skip to Content

Layering two combo boxes without Dynamic Visibility

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!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on May 19, 2015 at 06:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 19, 2015 at 07:24 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 21, 2015 at 02:24 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.