Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-07 Thread Tom Chiverton
On Tuesday 06 June 2006 23:55, Jason Y. Kwong wrote: Ya, that's always an option, but it's a little disruptive cause it closes all the nodes that the user opened. Oh well, for now I'm just showing the root node. IMVHO, that's a bug. Unless the id of an open node, or the nodes depth have

RE: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-07 Thread Tracy Spratt
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, June 07, 2006 6:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? On Tuesday 06 June 2006 23:55, Jason Y. Kwong wrote: Ya, that's

Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Jason Y. Kwong
I've noticed one other problem: If a Tree's showRoot property is set to false, not even calling invalidateList() will refresh the display. In fact, I can't find any way to get the Tree to refresh in such a case. Any ideas? On 5/25/06, Michael Montagna [EMAIL PROTECTED] wrote: Post beta3,

Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Jason Y. Kwong
Actually, let me clarify that a bit. I can't get the Tree to show new nodes added to the root node. If I add nodes to child nodes, they show up when calling invalidateList(). The root node is the problem. I did a trace of the Tree's dataprovider after adding to the root node and the new

RE: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Tracy Spratt
: Tuesday, June 06, 2006 3:46 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? Actually, let me clarify that a bit. I can't get the Tree to show new nodes added to the root node. If I add nodes to child

Re: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-06-06 Thread Jason Y. Kwong
: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? Actually, let me clarify that a bit. I can't get the Tree to show new nodes added to the root node. If I add nodes to child nodes, they show up when calling invalidateList(). The root node is the problem

RE: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-05-25 Thread Tracy Spratt
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Montagna Sent: Thursday, May 25, 2006 1:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display? Post beta3, changes to XML

[flexcoders] Re: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?

2006-05-24 Thread Michael Montagna
Post beta3, changes to XML will automatically get updated in the Tree control. And you won't be required to go through XMLListCollection but you can simply make changes to the XML model itself, e.g. delete, +, appendChild, etc. You're seeing a bug in the b3 Tree where the collection events