Forum: Ruby on Rails control for acts_as_tree structure

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Dan M. (Guest)
on 2006-04-08 20:42
(Received via mailing list)
Hi,

I am looking for a good javascript control to display an acts_as_tree
structure.  Has anyone had good luck with an existing one or would it
be better to roll my own?

Thanks,
Dan
Rob B. (Guest)
on 2006-04-08 21:04
(Received via mailing list)
You can use LiveTree (http://www.epiphyte.ca/code/live_tree.html)
It's pretty easy to get something simple to work.  I've even peeked
at the source a bit to make a small change.  I'm trying to bend it
around with a generic TreeNode model that uses a polymorphic
association, too, which works as long as those models respond to 'name'.

-Rob

Rob B.		http://agileconsultingllc.com
removed_email_address@domain.invalid
+1 513-295-4739
This topic is locked and can not be replied to.