through binding
dataProvider="{ArrayCollection(item.array)}"
> 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: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Stacey Mulcahy
> Sent: Wednesday, January 25, 2006 11:29 AM
> To: [email protected]
> Subject: [flexcoders] Perhaps I'm challenged.
>
>
>
> 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 :-)
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
> ________________________________
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> .
>
>
>
> ________________________________
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/