Harryroge / jquery-datatables-row-reordering

Automatically exported from code.google.com/p/jquery-datatables-row-reordering
0 stars 0 forks source link

cannot do row-reordering if more than 1 datatable exists #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create 2 different datatables on a given page
2. each table uses rowReordering
3. attempt to drag and drop a row with one of the tables
4. get this error:  TypeError: n.aoData[t] is undefined

What is the expected output? What do you see instead?
I expect that I should be able to re-order rows within same same table 
regardless of the number of datatable-enabled tables on my page.  Instead, I 
get an error after dropping row to new position.  The server call is never 
made, and the rows are not reordered as a result of dropping.  However, if a 
single datatable with row-reordering is on my page, then everything works as 
expected.

What version of the product are you using? On what operating system?
jquery.dataTables.min.js  Version: 1.9.2
jquery.dataTables.rowReordering.js Version: 1.0.0.

Please provide any additional information below.

Original issue reported on code.google.com by t...@schreckmail.com on 26 Jul 2012 at 6:00

Attachments:

GoogleCodeExporter commented 9 years ago
upon further testing, I can confirm this is very similar to Issue #6.  Sorry 
for the duplicate.  I noticed that the first table works fine just like Issue 
#6 states.  However, if trying to change rows in second table, it messes with 
rows in the first table.

Original comment by t...@schreckmail.com on 26 Jul 2012 at 6:24

GoogleCodeExporter commented 9 years ago
Here's a link to a video I created to show you what's happening.  Hope this 
helps.

http://screencast.com/t/UXQooumKjrCl

Original comment by t...@schreckmail.com on 26 Jul 2012 at 6:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by joc...@gmail.com on 27 May 2013 at 9:29

GoogleCodeExporter commented 9 years ago
Hi,

Could you try it with version 1.1.0? It works for me on the:

http://jquery-datatables-row-reordering.googlecode.com/svn/trunk/multipleTables.
html

Thanks,
Jovan

Original comment by joc...@gmail.com on 28 May 2013 at 8:23