[flexcoders] Selecting a Tree branch/leaf via actionscript

2007-04-27 Thread chandan1980_2000
Hi All,

In order to select a tree branch/leaf via actionscript only a) There
is a need to recursively call expanditem() till the node containing
the required branch/leaf is found b) setting the tree.selectedItem
does not cause a change event! Is Manual dispatach of the event the
only soln?

Thanks
 Chandan



Re: [flexcoders] Selecting a Tree branch/leaf via actionscript

2007-04-27 Thread Manish Jethani
A change event is generally dispatched only on user interaction. You
might want to listen for the valueCommit event instead.

On 4/26/07, chandan1980_2000 [EMAIL PROTECTED] wrote:
 Hi All,

 In order to select a tree branch/leaf via actionscript only a) There
 is a need to recursively call expanditem() till the node containing
 the required branch/leaf is found b) setting the tree.selectedItem
 does not cause a change event! Is Manual dispatach of the event the
 only soln?

 Thanks
  Chandan



 --
 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