I would love to get some feedback and test a patch to rev. 4380. First, the money shot - check out this demo of a scriptaculous DataGrid: http://development.finetooth.com/?p=13
I'm using the <tr> as a sortable with the <th>'s as the sortable elements. The Patch file: http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff The patch adds two pieces of functionality used in the demo: 1. Sortable- options.delay FunctionalTest: http://www.commoner.com/~lsimon/scriptaculous/test/functional/sortable6_test.html This allows for a draggable to take a delay paramater to delay the "activate" function. It also notifies observers onActivate. 2. Sortable- options.ignorePositionX and options.ignorePositionY FunctionalTest: http://www.commoner.com/~lsimon/scriptaculous/test/functional/sortable7_test.html With a sortable, we sometimes want to be able to go up and down or right to left outside of the containment area of the sortable's tag. To quote someone from the IRC channel explaining the situation before this option: 'Sortables don't change places when the mouse is not above the sortable's container while dragging". Now they can. -- Lindsey Simon [EMAIL PROTECTED] Key fingerprint = C6A9 B9D9 677E A631 3E7F 43BF 5E2F 77F1 A33C B117 Public Key: http://www.commoner.com/pubkey.asc _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
