Control for acts_as_tree structure


#1

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


#2

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