In the docs I found some information about Drag&Drop of rows between 2 grids using jquery UI’s Draggable widget. We have a project, where we need to Drag&Drop Items between 2 Grids. Is there a known solution to make this work?
We tried this whithout success:
|
1 2 3 4 5 6 7 8 9 10 11 12 |
var drags = $('#startGrid div.vis-item'); drags.draggable({ appendTo: 'body', containment: 'window', scroll: false, helper: 'clone', start: function(event, ui) { event.stopPropagation();}, drag: function(event, ui) { event.stopPropagation();} }); var drops = $('#stopGrid div.vis-group'); drops.droppable({drop: function( event, ui ) { alert('drop'); }}); |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top