kornelski / slip

Slip.js — UI library for manipulating lists via swipe and drag gestures
BSD 2-Clause "Simplified" License
2.44k stars 213 forks source link

Support table rows #23

Closed elmcrest closed 8 years ago

elmcrest commented 10 years ago

Hi kornel,

first of all, congratz to slip.js - works really nice.

I was wondering though if there's a way to make table rows (bootstrap 3 table-responsive in particular) drag & droppable, too?

Sorry if I'm wrong starting this as an "issue" since I guess it isn't one. But I don't know where to ask here else.

thx in advance, elmcrest

But the way, so far I've found this http://jsfiddle.net/martyk/Kzf62/85/ which should work with touch punch on mobile, too.

kornelski commented 10 years ago

Try attaching slip to tbody element.

carter-thaxton commented 8 years ago

Confirmed that attaching to tbody works.