Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82755

data-order sorting difference between languages

$
0
0

Dear community,

we have a table which contains a column with costs and a custom currency called "NO-CUR" since we don't know which currency the customer used.

To have a locale independend sorting we are using the data-order attribute and adding the computer representation of the number. eg: 123.456, 123.45 and so on.

In the english version this one works quite good but as soon as the customer changes to german, the numbers get treated differently. In that case 123.456 is higher than 123.45 because in germany we use a dot as thousand separator.

Is there any solution for it? We were quite sure, it worked before we swapped to DataTables 2.1. Were there any changes? :smile:

Thanks in advance and still, happy new year!
Pichutan


Viewing all articles
Browse latest Browse all 82755

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>