Re: [flexcoders] Re: How to refresh a tree

2006-11-06 Thread Gunther Konig
You've probably solved this problem in the meantime, I post this since there's no answer provided (also, I'd like to know if anyone has a better solution). I had the same problem with you, the tree was going crazy when trying to add children to a node (well, I'm using ArrayCollections instead of

[flexcoders] Re: How to refresh a tree

2006-09-11 Thread lyon.james
My problem isn't solved by your suggestion unfortunately. My tree shows the correct data but still doesn't update the scrollbar appropriately. And at times children nodes will overlap parent nodes further down the list. I've been calling validateDisplayList on the tree, but should I call it on

Re: Re: [flexcoders] Re: How to refresh a tree

2006-08-24 Thread Marcel Fahle
Hey Guys, my problem was, that the tree was reacting weird when scrolling around after adding data to its dataprovider (XMLListCollection) using setChildren. (When the user clicks a branch node, it's childnodes should be loaded from my streamingserver (=returns XML)) I found out, that the

Re: [flexcoders] Re: How to refresh a tree

2006-08-24 Thread Marcel Fahle
Hey Guys, my problem was, that the tree was reacting weird when scrolling around after adding data to its dataprovider (XMLListCollection) using setChildren. (When the user clicks a branch node, it's childnodes should be loaded from my streamingserver (=returns XML)) I found out, that the

Re: [flexcoders] Re: How to refresh a tree

2006-08-23 Thread e baggg
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

Re: [flexcoders] Re: How to refresh a tree

2006-08-23 Thread Michael Schmalle
Hi,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

Re: [flexcoders] Re: How to refresh a tree

2006-08-22 Thread Marcel Fahle
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

[flexcoders] Re: How to refresh a tree

2006-08-11 Thread Dave Bobby
any ideas on how to solve the problem? say i have this tree with root node, i open root node and append the retrieved xml from server to root node and tree opens up and i can see the tree. when the tree gets bigger than the display area, there is no scrollbar that is automatically added, any

[flexcoders] Re: How to refresh a tree

2006-08-11 Thread Dave Bobby
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