What type is C? In ActionScript, ArrayCollections can be bound, Arrays can't.
Joined: May 28, 2008
It is an arraycollection and the data binds perfectly well. I am just unable to display a variable inside the arraycollection in the datagrid without using actionscript.
I have fixed it but it looks ugly (atleast to me). I have defined an object D in the Flex side alone and have got actionscript to set D as position 0 of the arraycollection C (since I only need the first object).
Lot of unwanted looping logic I feel. So now I have -