|
That sounds odd. Internally the DG was
wrapping your array in an ArrayCollection anyway so it shouldn’t have
made a difference. How are you creating the ArrayCollection? It’s
possible that this is a bug that will be fixed in the beta which is coming
soon. Matt From: Question – Flex 2 Cell Renderer I have a cell renderer that overrides the
set dataObject to determine what to render based on the info. Originally I was setting a plain ole array
to the dataGrid as a DP and I could easily do something like Override public function set
dataObject(value:Object){
if(value!=null){ if(value[prop]!=null){ //
then show this image
}else{ //
show this image } } } Now I know using a plain array isnt’
the way to go. So I want to use an array collection or something of that sort.
When I set the dp of the datagrid to an ArrayCollection – I can no longer
access the prop on the object in the override, even tho, when I trace the
object out, the properties and value pairs are all there. General thoughts- I know its something
stupidly simple (hence the subject line) but hell, who needs an ego anyways J
|
- RE: [flexcoders] Perhaps I'm challenged. Matt Chotin
- RE: [flexcoders] Perhaps I'm challenged. stacey
- Re: [flexcoders] Perhaps I'm challenged. JesterXL
- RE: [flexcoders] Perhaps I'm challenged. Stacey Mulcahy
- RE: [flexcoders] Perhaps I'm challenged. Matt Chotin
- RE: [flexcoders] Perhaps I'm challenged. Stacey Mulcahy

