There is some issues with the Tree and XML dtat provider collections.
One thing I can suggest is;
Add an event listener to the divider bar release, I can't remeber what it is, in that handler call
myTree.invalidateList();
Give it a try and let me know.
I have the same issues with using itemRenderers and changing some internal data specific things. After I am done with my process, I called invalidateList() and it did a nice redraw quickly.
There probably is just an update isse and measure() is not being called correctly.
Peace, Mike
On 8/23/06, e baggg <
[EMAIL PROTECTED]> wrote:
I too have had problems with XML nodes in tree. One thing that eliminated a lot of the issues was reassigning the dataProvider of the tree explictly (right after you update the node.
so...
[Bindable]
private var xmlN : XML ....
private function updateTreeDataProvider : void {
//code that updates xmlN
treeNav.dataProvider= xmlN;
}
<mx:Tree id="treeNav"
Marcel Fahle <[EMAIL PROTECTED]> wrote:Hi Dave,
did you found a solution on that?
I've got a similar problem here.
Marcel
Dave Bobby wrote:This is flaky, might be a bug.
root
-a
--aa
--ab
--ac
-b
-c
--ca
--cb
--cc
say the last server retrieval got ca, cb and cc. but the tree did not
show a scrollbar. this tree is in a vDivided box, so when i move the
divider upto b, i see a scrollbar, but when i move divider to cb or
cc, ca-cb and cc disappear and no scrollbar.
bug? or am i doing something wrong? i think that the tree should be
refreshing when i do such operations.
thanks.
--- In [email protected], "Dave Bobby" <[EMAIL PROTECTED]> wrote:
>
> I am trying to append data retrieved to selectedItems in the tree
> represented by an XMLListCollection. During the trace I see that
the
> retrieived items have been added to the XMLListCollection correctly
> and this collection in Bindable.
>
> But the tree itself behaves wierd. Sometimes it shows the
scrollbars,
> sometimes not. Sometimes, when I scroll up and down, it collates
> different nodes to different parents visually.
>
> Any ideas?
>
> Thanks.
>
> Dave.
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
What goes up, does come down. __._,_.___
--
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
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: How to refresh a tree e baggg
- Re: [flexcoders] Re: How to refresh a tree Michael Schmalle
- Re: Re: [flexcoders] Re: How to refresh a tree Marcel Fahle
- Re: [flexcoders] Re: How to refresh a tree Marcel Fahle
- [flexcoders] Re: How to refresh a tree lyon.james
Reply via email to

