Sorting doesn't work in some case
Sorting doesn't work in some case
JisaKun
Posts: 3Questions: 3Answers: 0
Here's the demo: http://codepen.io/JisaKun/pen/mPZJmB
The initial state is sorting by column Name
desc , When you keep clicking the header of column Name
to sort as soon as the table was initialized, sorting only works one time.But it works well if you sorting table by another column at first.
Do I make my self clear ?
p.s. I submit an issue on GitHub ,too : https://github.com/DataTables/DataTables/issues/844
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Those for posting this - however, I would request that you please don't post duplicates. It just means I have less time to answer other questions.
The documentation for
order
notes that the column index should be an integer. If that is done, it works as expected.Allan