Hi,


User is editing data, so I need to populate data which is passed in
DataGroup, which has ItemRenderers (corresponding to DB rows)

and consists of bunch of components, including DropDownList.


I am trying to populate it in ItemRenderer's creationComplete handler like
that:



memberDataTypeInput.selectedItem =
getItemByName(parentDocument.acObjectsAndPrimitives,
value.NATIVE_DATA_TYPE);

which is supposed to return an Object from ArrayCollection corresponding
name (from id & name pair).



The problem is that ArrayCollection acObjectAndPrimitives is NULL at that
point.

(supposed to make a call to DB, retrieve data, remove duplicates, sort it,
make an ArrayCollection out of that - fairly slow).



Any idea how to resolve that?





TIA,

Oleg.

P.S.: using Flex 4.5.1

Reply via email to