  | | | New tree component question | New tree component question 2004-03-20 - By Sajid Saiyed
Back Nope...!! It didnt work Keith.
Does it work in your machine? I tried it... :(
--sajid
-- --Original Message-- -- From: Keith L. Miller [mailto:millerk@(protected)] Sent: Friday, March 19, 2004 5:26 PM To: flashcoders@(protected) Subject: Re: [Flashcoders] New tree component question
Try this:
// set up tree listener myTreeListener = new Object();
// change event handler myTreeListener.change = function(obj){ // Auto Expand on click if (obj.target.getIsBranch(_thisNode)) { obj.target.setIsOpen(_thisNode, !obj.target.getIsOpen(_thisNode), true); } }
myTree.addEventListener("change", myTreeListener);
Hope that helps.
Keith
-- -- Original Message -- -- From: "Sajid Saiyed" <SajidS@(protected)> To: <flashcoders@(protected)> Sent: Friday, March 19, 2004 5:25 AM Subject: [Flashcoders] New tree component question
> This is another one for the tree component. > > The default behaviour of tree component is that if you click the ARROW, the > Tree Expands, but if you click on the name, it triggers another event. > > What i want to do is the tree should open even if i click on the name > displayed next to the arrow... > > Can this be done? Has anyone tried this? > > --sajid > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Supported by Fig Leaf Software > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Be sure to check the archives and the wiki: > http://chattyfig.figleaf.com/ > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107425 > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > To unsubscribe send a blank e-mail to: > Normal Mode: flashcoders-unsubscribe@(protected) > Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107426 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107527 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |