flex Dictionary dataProvider?

Posted by paleozogt on Stack Overflow See other posts from Stack Overflow or by paleozogt
Published on 2010-06-16T21:17:40Z Indexed on 2010/06/16 21:42 UTC
Read the original article Hit count: 497

Filed under:
|
|

I have a Dictionary that I'd like to bind as the dataProvider for an mx:ComboBox. e.g., when I do this:

       mydict[somenewkey]= somenewval;

I'd like the combobox to update its contents.

The problem is that Dictionary doesn't seem to be Bindable. If I were using an Array, I'd use ArrayCollection. But there doesn't seem to be a corresponding DictionaryCollection or HashCollection. What to do?

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash