Sortable and clone
Sortable and clone
I'm looking for a sortable table where I can add some items to by the
D&D principle.
I have:
$(document).ready(function(){
var els = ['.test'];
var $els = $(els.toString());
$els.sortable({
items: '.move',
cursor: 'move',
connectWith: els
});
var $elsclone = $('#cloneitems');
$elsclone.sortable({
items: '.move',
helper: 'clone',
cursor: 'move',
connectWith: els
});
});
But the helper: 'clone' is not working, so I can drag 1 item into the
table but due to the fact that the clone isn't working it stays with
that 1 item.
Can someone help me?? Is this a bug or am I'm doing something wrong?
Thanx,
Karel-Jan