Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Nige's Drag and Drop Treeview   Message List  
Reply | Forward Message #3628 of 52228 |
Nige White's outstanding drag and drop tree should be more easily discoverable, so I'm starting a new thread that makes it easier to find.

The latest version can be saved from:
https://secure0.forward-comp.co.uk/yui/cv/test.html

Note:   If you don't see the tree in MSIE,  set #menuContainer's  {height : auto. } You'll have to fiddle with it for your own app's containers.  Worked for me.





Wed Aug 2, 2006 8:57 pm

mattesid
Offline Offline
Send Email Send Email

Forward
Message #3628 of 52228 |
Expand Messages Author Sort by Date

Nige White's outstanding drag and drop tree should be more easily discoverable, so I'm starting a new thread that makes it easier to find. The latest version...
mattesid
Offline Send Email
Aug 2, 2006
8:57 pm

Nige: The only feature I think your tree really needs is something you just might not have gotten to yet, but is very important. If a node is dropped on...
mattesid
Offline Send Email
Aug 2, 2006
9:02 pm

Hmm, I don't see that as valid. An object which is a tree node can either accept child nodes, so it's a folder right from the start, or it's a leaf. ... ...
Nige White
exguardianre...
Offline Send Email
Aug 3, 2006
6:40 am

Nige, when I proposed above is a very standard behevior in many tree implementations (or which there are probably hundreds). Any user familiar with Keynotes,...
mattesid
Offline Send Email
Aug 3, 2006
1:00 pm

Sounds reasonable. Every node would have to be a DDTreeNode with canHaveChildren set to true.. How would it know whether to display a folder or not? Don't...
Nige White
exguardianre...
Offline Send Email
Aug 3, 2006
2:14 pm

... That blats out immediately on my FireFox with Error: initExpandedNodes has no properties Source File: ...
Nige White
exguardianre...
Offline Send Email
Aug 3, 2006
2:25 pm

It's far from perfect. I'm sharing the code in the hope that the YUI "community" will pool development talents. I don't have time to devote to the DDTreeView...
Nige White
exguardianre...
Offline Send Email
Aug 3, 2006
6:44 am

... "forget" to link up. << I have't studied this in detail, but once you mentioned it, the only problem i can see (with just one tree, anyway), is that when...
mattesid
Offline Send Email
Aug 3, 2006
1:11 pm

The lines are created in getNodeHtml() by the following lines: for (i=0;i<this.depth;++i) { sb[sb.length] = '<td class="' + this.getDepthStyle(i) + ...
Nige White
exguardianre...
Offline Send Email
Aug 3, 2006
2:03 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help