jorgenio / jquery-datatables-row-reordering

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

Row Reordering not working #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have the latest jQuery, jQuery UI, datatables, row-reordering plugin and 
nothing I am dong seems to allow drag and drop. I have no JS errors in the 
console. It just seems this plugin simply does not work. I've tried downgrading 
jquery and the UI to no avail. I am using your basic example to at least get 
this working.

What steps will reproduce the problem?
1. Installed
2. Called $('#myTable').dataTable().rowReordering();
3. Nothing happens

What is the expected output? What do you see instead?
I expect to be able to drag and drop but no dice. Datatables is initialized and 
works fine.

What version of the product are you using? On what operating system?
Latest Google Chrome on Mac OS Mountain Lion, also tried latest Chrome on Win 7 
x64

I cannot provide a demo as it is local but here is the html table snipped from 
the source.

<table id="myTable" class="table table-hover table-condensed datatable">
                <thead>
                <tr>
                    <th></th>
                    <th>Evaluation Title</th>
                    <th>Type</th>
                    <th>Questions</th>
                    <th>Actions</th>
                </tr>
                </thead>
                <tbody>
<tr data-position="1" id="463dc4f1-7a1e-4c70-aeed-f48189d7751e">
                   <td>1</td>
                   <td>Row two</td>
                   <td>Type</td>
                   <td>2</td>
                   <td>Delete</td>
               </tr>
                <tr data-position="2" id="5b327c1a-3699-4937-a3e7-5edbb6db128a">
                   <td>2</td>
                   <td>Row two</td>
                   <td>Type</td>
                   <td>2</td>
                   <td>Delete</td>
               </tr>
                </tbody>
            </table>

Original issue reported on code.google.com by adam.sen...@sheltonanalytics.com on 14 Aug 2013 at 2:02

GoogleCodeExporter commented 9 years ago
Ok, I have it working. It is not the plugin, there was another jQuery script 
clashing with this one.

Original comment by adam.sen...@sheltonanalytics.com on 14 Aug 2013 at 4:41