2

I am using Table Drag and Drop JQuery plugin (http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/).

I have a button that initializes sorting. But, after sorting is done, I want to deinitialize it, so user can continue with other tasks. How to deinitialise sort, or disable it, after initialization?

Btw, initialization code is:

$('table.listing').tableDnD({
    onDrop: function(table, row) {
    ... serialization of data and ajax post here...
    }                
}); 
4

1 回答 1

0

尝试使用function

 unbind().

看到这个

 $("table").unbind("mousedown");

希望这可以帮助。

于 2016-07-28T04:50:32.113 回答