Hey Tom,

This thread is pretty old and I don't have time to read through it all
again to gain context, but I can offer a quick recap of what (I think)
I am doing differently these days. It seems to make things a lot
easier if you use ArrayCollections as your dataProvider rather than
XMLListCollection, especially if your AC is full of bindable class
instances. Check out Darron Schall's ObjectTranslator
(darronschall.com) to ease the process of creating typed objects from
the generic ones returned by a WS.

If this is completely not helpful to your situation due to my lack of
reading the thread I apologize. I am walking out the door so here is
hoping this is useful :)

Ben


--- In [email protected], "Tom Lee" <[EMAIL PROTECTED]> wrote:
>
> Ben,
> 
> Did you ever find a satisfactory answer to this?  I'm facing the
same issue.
> 
> Thanks,
> 
> -tom
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of ben.clinkinbeard
> Sent: Thursday, July 20, 2006 11:59 AM
> To: [email protected]
> Subject: [flexcoders] Re: How do I reset itemRenderer inside
DataGrid when
> dataProvider is updated?
> 
> Hey Tim,
> 
> No worries, I didn't think you were being harsh, I just wanted to
> clarify what I was referring to. I am very new to Flex, so as long as
> it doesn't involve calling me names I am willing to listen to just
> about any advice. Actually, I could probably overlook namecalling if
> the info was good enough. :)
> 
> I suppose I understand the event firing due to the redraw, it just
> seems like a 'dataChange' event should only fire when, you know, data
> changes. I will look into your article and custom events when I get
> some time, thanks for the tip.
> 
> Jesse, going to those lengths seems like a bit of overkill when all
> the itemRenderer consists of is a Checkbox with a dynamic label. I
> guess for now I will stick with my 'dirty and hackish' flag var, until
> I have time to further investigate/implement something like what Tim
> showed.
> 
> Thanks for everyone's help.
> 
> Ben
> 
> 
> 
> 
> 
> 
> 
> --
> 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
>


Reply via email to