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

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -