Bug Report: Fixed Sort/Order on Column is not fixed
Bug Report: Fixed Sort/Order on Column is not fixed
Jamaur
Posts: 87Questions: 10Answers: 0
When a fixed sort/order is applied on a column, if one clicks on the column's header cell (th):
- The classes still toggle between sort_asc and sort_desc (this was mentioned in this thread: https://www.datatables.net/forums/discussion/28417 ),
- a draw is fired,
- and when serverSide = true it even sends a request to the server to change the sort direction.
A test case showing Points 1 and 2: http://live.datatables.net/zerihiju/4/edit and a test case showing Point 3: http://live.datatables.net/qigaluzu/1/edit
In both examples, a fixed sort was applied on the Name Column.
To view the result in the console, one needs to click the Name column header cell (th).
This discussion has been closed.
Replies
Thanks for letting me know about this. I suspect points 2 and 3 won't be something I'll address immediately since it is still functional - it just does a little extra work.
However, 1 one is a bug for sure - thanks for letting me know about this.
Allan