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 XMLs, but I guess it's the same thing).
The only way I could get it working was
tree.dataProvider.removeItemAt(x) ;
tree.dataProvider.addItemAt({label: oldLabel, children: result}, x) ;
tree.invalidateDisplayList();

Regards,
GK

On 9/11/06, lyon.james <[EMAIL PROTECTED]> wrote:
> 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 something else?


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to