PDA

View Full Version : combobox problems


bernardsirius
10-17-2004, 11:45 AM
I have come to a number of combobox-related problems:

1. I've populated a combobox via scripting by way of the addItem(label,value) method, but nothing shows up; I can nevertheless choose one of the said items, and when chosen, it pops up. Weird, huh? Anyway it is way not cool to have to try out every item to see what is written...

2. I have a form that I'd like to reuse, which means "re-populate". For that, I need to clear the contents of the combobox (BTW a clear() method for comboboxes would be welcome), so I've tried the use of the removeItemAt(index). It just plainly doesn't work. The dataoption attribute hasn't been set, as it is said in the docs that it shouldn't be "lazy" or "resize". This is neither cool

any suggestions?

Bernard