DataTables Sorting not working
-
Hi Tobias,
at first, let me thank you for this wonderful and nice working plugin. Unfortunately I have a little problem with sorting numbers as also mentioned in following posts:
– https://www.ads-software.com/support/topic/plugin-tablepress-sorting-by-column-for-values-with-leading-sign?replies=10
– https://www.ads-software.com/support/topic/tablepress-not-sorting-columns-correctly
– https://www.ads-software.com/support/topic/data-table-sorting-plugin-issue?replies=17Alright, let me tell you what’s the problem: Sorting the table with numbers (in my case currencies) is not working properly. Clicking the cols head only works in chrome, but not in Safari or Firefox. In addition the sorting isn’t correct: Three clicks on the cols title provide three different results and only the last one is correct.
I use the latest version of Tablepress and the DataTables Sorting Extension. Also tried changing custom commands from “aoColumnDefs”: [ { “sType”: “numeric-comma”, “aTargets”: [ 4 ] } ] to “aoColumnDefs”: [ { “sType”: “num-html”, “aTargets”: [ 4 ] } ]
– but no chance. Changing the values (row 4) from “xx Euro” to “xx €” or “xx€” had no effect too. But maybe you could find an error …It would be very nice, if you’ll take a look on the website. You’ve got mail with the link.
Thanks a lot and have a nice weekend!
jackandthejuice
- The topic ‘DataTables Sorting not working’ is closed to new replies.