javascript - Table drag and drop (holding only one column) -


i wanted draggable table rows, found tablednd jquery plugin , works fine

$(function() {    $("table").tablednd();  }); 

as can see there: http://jsfiddle.net/drbfs/1/.

but wanted make 1 column draggable. mean, whole row (tr) moved now, can move row dragging left column (td.drag), when trying drag right column should no effect. have got idea how can done?

it appears older plugin, might have been possible @ 1 point, according document: http://isocra.com/2008/02/table-drag-and-drop-jquery-plugin/

however, after looking through source now, no longer possible. instead, perhaps consider using jquery ui sortable. if wrap rows in tbody, code want:

jquery(function () {     jquery('table tbody').sortable({ handle:'.drag' }); }); 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -