Does anyone know of a RoR implementation of a TreeView in which you can
navigate to leafs of branches and select multiple leafs of interest via
checkboxes. An example of this is the javascript Checkbox Tree available
at http://www.treeview.net/treemenu/3fr_checkbox.html. It is also nice
to be able to open all or close all branches via a button, and to select
all leafs or unselect all of them.
I would rather not have to build this from scratch as I have plenty of
other RoR work that I want to do. Thanks for any solid leads on this
subject.
function checkAll(name)
{
boxes = document.getElementsByName(name)
for (i = 0; i < boxes.length; i++)
boxes[i].checked = true ;
}
function uncheckAll(name)
{
boxes = document.getElementsByName(name)
for (i = 0; i < boxes.length; i++)
boxes[i].checked = false ;
}