Displaying 1 result from an estimated 1 matches for "dragmov".
Did you mean:
dragmove
2007 Feb 12
0
Scriptaculous - extending draggable via sortable
...riptaculous Drag
and Drop. I have hooked my custom functions to the Drag and Drop using
the following code:
new Draggable(element, {revert:true, ghosting:true, handle: handle,
onStart: CollectionDragDrop.dragStart, onEnd:
CollectionDragDrop.dragEnd,
onDrag: CollectionDragDrop.dragMove,
reverteffect: CollectionDragDrop.revertEffect});
Now besides making the rows Draggable I want them to be sortable. But
I am not able to pass on the onEnd, onStart hooks without modifying
the scriptaculous code.
Is there any clean way I can achieve this, which won''t break forward
compat...