Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Table drag and drop (holding only one column)

$
0
0

I wanted to do draggable table rows, I found TableDnD jQuery plugin and it works fine

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

As you can see there: http://jsfiddle.net/drBfS/1/.

But I wanted to make only one column draggable. I mean, whole row (tr) is moved like now, but you can move row only by dragging left column (td.drag), when trying to drag right column it should be no effect. Have you got any idea how it can be done?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



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