View Full Version : Redraw a dynamically changing select

1 Feb 2012, 10:55 AM
I have an app that has a selectfield in a header. I am programatically changing the options of the select based upon a previous user action. I can update the select to have the correct options no problem, but if the new options have a different length than the previous time, the box around the options does not update to the proper size.

I tried the doLayout method, but I get an error on the line saying
TypeError: Object [object Object] has no method 'doLayout'

1 Feb 2012, 11:37 AM
You need to get the listPanel which is a floating panel.

On a phone, do note that the list won't appear like that but will be a picker.