mpryvkin / jquery-datatables-row-reordering

JQuery plugin that enables drag and drop row reordering in the tables enhanced with JQuery DataTables plugin.
https://www.gyrocode.com/articles/jquery-datatables-row-reordering/
6 stars 8 forks source link

row-reordering with widgets in table cells has side-effects. #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use FireFox 24+
2. Use a jquery datatable with widgets as cell entries

What is the expected output? What do you see instead?
I expect re-ordering of rows. That works, but the interesting side-effect is 
that none of the cells are editable.

What version of the product are you using? On what operating system?
1.2.1 ... Windows 7

Please provide any additional information below.

I'm able to get over this where the sortable(...) is applied to the tbody. Just 
remove the "disableSelection()". Firefox won't propogate the mouse events to 
the widgets if they aren't selectable (and the jquery-ui docs indicate that 
using this isn't a good idea anyway ... at least with text fields).

Original issue reported on code.google.com by doctor...@gmail.com on 27 Sep 2013 at 8:04