:: Forum >>


I am seeing some weird effects with the combo box control. I start out my page with a disabled combo box:
var obj= new AW.UI.Combo;
obj.setItemText(function(i){return combo_array[i][0]});
obj.setItemValue(function(i){return combo_array[i][1] + ":" + combo_array[i][0]});
obj.getContent('box/text').setAttribute('readonly', true);
obj.onItemClicked = function(event, index) {
        if (index == 0){
        } else {

Once the page is done loading I am checking a few values to see if I need to re-enable the control. If I do, I set obj.setControlDisabled(false).

This all works great as far as the control going from a greyed out state to a regular state, but for some reason when I then drop down the box after is started as disabled and then went enabled I see a very large white box behind the popup list box.

Is there anything I can do to fix? Some style to add or something?

Tuesday, January 20, 2009
By the way, I wanted to also add that I am adding a style to define width and height of the popup
Tuesday, January 20, 2009
Does it happen with AW 2.5.3 or some earlier version?
Alex (ActiveWidgets)
Thursday, January 22, 2009

This topic is archived.

Back to support forum

Forum search