This should work. Are you sure the data call is
returning? I don’t like binding directly to a result because it is
hard to debug in cases like this. I’d use a result handler and
assign the result to a {Bindable}global variable, then bind to that. That
way you can trace ou the data to see what is happening. Is it possible you are seeing the caching
problem? Where the url has not changed so the data call uses the previously
cached data? This would look like the grid was not refreshing. Finally, you can call tree.invalidateList()
to force a redraw. That may be a bit less heavy handed than just re-assigning
the dataProvider. But you should not need to do this. You are using the
Release version of Flex? This was a bug in Beta3. From: Not sure of List APIs. But I would surely trying
setting dataProvider of Tree using ActionScript. On 8/27/06, qnotemedia
<[EMAIL PROTECTED] I have an HTTPService
that imports a multi-level xml file, and a tree -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Refresh Tree from HTTPService Tracy Spratt