Depending on a dropdown selection i want to show / hide another dropdown.
I can preload the second dropdown, but i dont know how to show / hide it..?
You can do it like this:
var ddL = win.add('dropdownlist', undefined, myListT);
ddL.visible = false;
This works, but it will still take up the space on the window, its like the difference between display: none and display: hidden in CSS.
I tried to change the prefferedSize, but it didn´t help.
Take a look here:
Retrieving data ...