Sorting Currencies in Table
-
Hi! I’ve searched through the site and couldn’t find a specific answer to my problem or the fixes referenced aren’t working for me.
My table is set up here. I’m trying to sort tables 2, 3 and 4 (the shipping tables) by currency and it’s not working out. I ran into another thread with this problem so I installed the Datatables Sorting extension and added this command:
"aoColumnDefs": [ { "sType": "formatted-num", "aTargets": [ 2, 3, 4 ] } ]
which I’m not sure was the right thing to do.. anyway, that didn’t work. I’m using the current version of the plugin as well as the current version of wordpress. I’m getting this in Firebug, I don’t know if it helps: https://i.imgur.com/kNWbfLO.png
Also, I was wondering if there’s a way to use this chart with a currency converter API (such as this one) so I could implicitly convert everything and then sort by the values people can’t see? I hope I just made sense!
- The topic ‘Sorting Currencies in Table’ is closed to new replies.