Currency Sorting

Currency Sorting

bholeckobholecko Posts: 2Questions: 0Answers: 0
edited November 2013 in General
Currency sorting is not working for us properly. An example of our format is $1.25 or -$2.50. What are we doing wrong?

var oTable = jQuery('#transactions').dataTable({
"iDisplayLength": 10,
"aaSorting": [[ 0, "desc" ]],
"aoColumns": [
{ "sType": 'date' },
null,
{ "sType": 'currency' },
{ "sType": 'numeric' },
null,
null
]
});

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Looks like to should work if you have the currency plug-in installed. Please link to a test case.

    Allan
This discussion has been closed.