The quest for a drag/drop yui tree…

August 7th, 2006

I am in the process of doing some R&D on a drag/drop yui tree and then hooking all that up with rails and ajax — it will take a little time.

In the mean time, I recommend this thread at the yui discussion group. It has an example of how to do drag drop with a yui tree. I don’t know if I would call it a “best practice” example, but it is a hec of a good start which is a lot more than I am offering on this blog atm 😛

Entry Filed under: YUI

Trackbacks

1 Comment Add your own

  • 1. sonjaya  |  August 8th, 2006 at 8:13 am

    I had a good night with the research. I think there may be a simpler way to do this with HTMLTreeNode.

    Essentially, you can embed a div tag in the HTML you pass in to the HTMLTreeNode constructor — you can then use that div id as the id for the drag drop object.

    So now I just need to figure out the “drop” behavior. Once I have a working example, I will post another how-to.

Leave a Comment

You must be logged in to post a comment.

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

August 2006
M T W T F S S
« Jul   Sep »
 123456
78910111213
14151617181920
21222324252627
28293031  

Most Recent Posts