Sorting not working with ColReorder

Sorting not working with ColReorder

karan.gasratechkaran.gasratech Posts: 1Questions: 1Answers: 0

Hi Admin,

I am facing an issue with colreorder. Following is the fiddle link where you can see the issue. You can see,
1. There is three columns for grid (Status, Assignee, Reporter).
2. I reset the order of columns with ColReorder with index (2,1,0) and it is working fine.
3. But when i click on Reporter in table header to sort this column, the values of Status column is moving at first and the columns are still at its order.

Datatables and ColReorder files version are as follows:
Datatable: https://cdn.datatables.net/1.10.12/js/jquery.dataTables.min.js
ColReorder: https://cdn.datatables.net/colreorder/1.3.2/js/dataTables.colReorder.min.js

Link: https://jsfiddle.net/karan_gasratech/w7Lc1358/

Answers

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    Can you link to a working test case please. When I load your fiddle I get an error stating:

    DataTables warning: table id=datatable-tables - Ajax error. For more information about this error, please see http://datatables.net/tn/7

    Allan

This discussion has been closed.