Displaying 3 results from an estimated 3 matches for "sortable_tree_test".
2006 Jun 15
2
Drag and Drop Sortable Tree
I''ve gone through Chad Fowler''s recipe for creating a drag and drop sortable
list, and have been trying to extend this to a sortable tree. Has anyone
come up with or seen code which allows drag and drop sorting (altering the
position and parent_id variables of the relevant objects) but for data in a
nested tree rather than a list form?
- Justin
2006 Apr 30
4
acts_as_ordered_tree
I need an ordered (sortable tree) and I just was thinking if somehting
like this is possible:
class Item< ActiveRecord::Base
acts_as_tree :order => "position"
acts_as_list :scope => ''parent_id = #{self.id}''
end
For my understanding mixing of two acts_as should be p?ssible, at least
in this case, right?
Unfortunatly the :scope is not working, I am not
2006 Apr 06
0
script.aculo.us V1.6.1
V1.6.1 (2006-04-06): Sortable Trees, Prototype 1.5.0_rc0 (fixes IE
mem leaks)!
New features in V1.6.1 and V1.6.0:
* Update to Prototype 1.5.0_rc0
* Sortable trees [thx Sammi Williams, sammi-EeRYXuc1dym5PgFUrJwY1aU/zSkkHjvu@public.gmane.org]
See the functional test (test/functional/sortable_tree_test.html)
and the CHANGELOG for more information!
* Add Draggable object as third parameter to snap, fixes #4074 [thx
mdaines]
* Add parsing/setting of any currently set opacity CSS rule to
default opacity effect on draggables, fixes #3682 [thx Mike A. Owens]
* Added benchmark method to unittest....