使用destroy()方法,例如,
$( ".selector" ).sortable( "destroy" );
在代码
中
$(document).on('click','.close',function(){
$(this).closest('.column').sortable( "destroy" ).remove();// to destroy element
//$(this).closest('.column').sortable( "destroy" );// to destroy widget only
});
Demo