Displaying 1 result from an estimated 1 matches for "enablesort".
Did you mean:
tablesort
2006 Jun 24
0
Sortable with sortables? this.destroy not a function O_o
...;, {id:''childsort_''randomId})
]); // wrapping another div around the list for
dragging.
$(mainDiv).appendChild(sortlist); // append to dom
myLists.push(''childsort_''randomId); // push to list array
reinitAllLists(); // reinit all.
enableSortable(); // make wrapper div sortable too
}
function reinitAllLists() {
for(var i=0; i < myLists.length; i++) { // destroy avoids duplicate init
automaticly
new Sortable.create(myLists[i], { some options ..}); // each
childsort..
} // all fine..
}
function enableSortable() { // using...