Oops, that 'tree.attributes.label = "<new text>";' was supposed to read 'tree.selectedNode.attributes.label = "<new text>";'.
--- In [email protected], "pilby1" <[EMAIL PROTECTED]> wrote: > My application requires me to modify the text/label of tree nodes. > > In my tree's change event, I am able to do this: > > event.target.attributes.label = "<new text>"; > > and the text in the tree node would update accordingly, as expected. > > However, I noticed that if I were to try to change the label from > another function in this way: > > tree.attributes.label = "<new text>"; > > then the text of the node will *NOT* change UNTIL I hover my mouse > over it and hover out. In short, it would change only in response to > the mouseOut event for that node. > > How can I get past this? I can't update the label of the node until I > get a "success" response from my servlet. Because of this, I > necessarily have to change the label of the node from within my > httpService result handler, but then I get the above-mentioned > behaviour. > > Any help on this would be greatly appreciated. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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/

