A possible bug in Col Reorder?

A possible bug in Col Reorder?

belsarerohit81belsarerohit81 Posts: 6Questions: 4Answers: 0
edited August 2015 in Free community support

http://live.datatables.net/riqevubo/1/edit
Link to the Datatable Lvie example

  • I have a Java Script Sourced Datatables that I load/reload on clicking the button load.
  • I wanted to use ColReorder so added the code

    dom: 'Rlfrtip',

  • Now this works fine on initial load and I am able to move the columns along with the data.

  • Now consider i have moved the column from one position to another and then press on the load button
    It should actually reload the table by loading the table again to its original order with new data
    but what happens is that only the column names are restored the data remains in the moved column itself.

In the link try
- Load the Table.
- Move the columns
- Again click on load.
- Check the column data now.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 64,032Questions: 1Answers: 10,555 Site admin
    Answer ✓

    Working example: http://live.datatables.net/rakefowo/1/edit .

    Yup, this looks like a bug I'm afraid. Likely due to how the destroy is working. I can't look into it right now, but I will try to do so as soon as possible.

    Allan

This discussion has been closed.