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: 524
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