Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: Drag and Drop on Table rows

$
0
0

Hi Hendrik,

 

The jQuery external library seems to load in indeterminate time frame that's the reason your code doesn't seem to work. You could load the jQuery UI library locally to get in working once the dom is loaded.

 

Just try this solution where i have setTimeout to execute the sortable method... but still this isn't the appropriate solution

 

$(document).ready(function() {          setTimeout( function() {                    $("#lb1-list, #lb2-list").sortable({                              connectWith : ".ui-sortable"                    }).disableSelection();          },1000);
});

 

 

Regards,

Ajain


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>