Hi, I am also facing same problem, but in my cause i want to define ArrayCollection attribute names at run time.
var myArr:ArrayCollection = new ArrayCollection();
myArr.addItem({ data: "hello", label: "hai" });
i wantto assign the 'data' and 'label' attribute name at runtime. how can i
achieve this
Thanks
Girish

