Actually the doc is incorrect there. The XML api DOES dispatch the
necessary events to update the tree.
And if you are seeing the raw xml node then clearly this is not your
issue.
Post a bit of the xml, and the Tree tag declaration.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of real_yoni
Sent: Monday, November 05, 2007 3:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Treeview - On demand updating of child nodes.
Thanks, but that is not the case... I'm using an attribute by the
name of name.
However I did find this link :
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/ww
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/ww
help.htm?
context=LiveDocs_Book_Partsfile=about_dataproviders_057_16.html
And in it there is this remark:
Remember that the Tree will not, by default, reflect dynamic
changes to the XML object.
so how can i change the default???
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tracy Spratt [EMAIL PROTECTED]
wrote:
The child nodes you add must have the attribute that you are using
for
the label. Or use a labelFunction(). Seeing the raw data usually
means
the tree does not know what to use for the label.
Tracy
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
Behalf Of real_yoni
Sent: Monday, November 05, 2007 1:30 PM
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: [flexcoders] Treeview - On demand updating of child nodes.
Hi,
I'm trying to update a tree upon an on click event (so that when a
user clicks on a node it access the server and fetch the child
nodes).
My problem is that when expanding the node I see the raw XML..
does
any one knows how to reflect the changes?
Thanks,
Yoni.