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.
1ca94522746f7fcf4eea3d3f418d3a66?d=identicon&s=25 Dan Munk (Guest)
on 2006-04-08 18: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
Ef3aa7f7e577ea8cd620462724ddf73b?d=identicon&s=25 Rob Biedenharn (Guest)
on 2006-04-08 19: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 Biedenharn		http://agileconsultingllc.com
Rob@AgileConsultingLLC.com
+1 513-295-4739
This topic is locked and can not be replied to.