on 05-18-2015 3:59 PM
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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.