Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Event after jqueryui sortable finished sorting

I want to trigger a callback function after the sorting of jqueryuis sortable completely finished and everything is in place again.

I tried the stop event, but the element I dragged is still positioned absolute, so this is not what I want.

Is there any event to achieve that, or do I need to set up some weird timeout stuff?

like image 402
Johannes Klauß Avatar asked Mar 18 '15 09:03

Johannes Klauß


1 Answers

There is an update method. You can write your code in update method.

update: function(event, ui) {


}
like image 171
Kautil Avatar answered Oct 13 '22 16:10

Kautil