Unsorting a DataTable

Unsorting a DataTable

gobstopper613gobstopper613 Posts: 1Questions: 1Answers: 0

I have a table that has been sorted and I wanted to simply un-sort it to put it back to the way it was before sorting.

I specifically do not want to reload the whole table because then I will be losing information.
I also do not want to remove the sort function entirely because the table will be sorted again later on

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Answer ✓

    There is the legacy fnSortNeutral API method. I tested the old plug-ins when releasing 1.10 so it should work with 1.10, but ideally it should probably be updated to be a 1.10 API plug-in at some point...

    Allan

This discussion has been closed.