thousand separator
thousand separator
Hi
Can you tell me what is wrong in this code
[code]if ($.fn.dataTable) { $('.data-table').dataTable ({ "bJQueryUI": true,"oLanguage": {"sInfoThousands": "."},
"sPaginationType": "full_numbers","bPaginate": false,"bInfo":false,
});
};[/code]
I also tried
[code]
if ($.fn.dataTable) { $('.data-table').dataTable ({ "bJQueryUI": true,
"bPaginate": false,"bInfo":false, "oLanguage": {
"sInfoThousands": "."
}
});
};
[/code]
Thanks
Best regards
Can you tell me what is wrong in this code
[code]if ($.fn.dataTable) { $('.data-table').dataTable ({ "bJQueryUI": true,"oLanguage": {"sInfoThousands": "."},
"sPaginationType": "full_numbers","bPaginate": false,"bInfo":false,
});
};[/code]
I also tried
[code]
if ($.fn.dataTable) { $('.data-table').dataTable ({ "bJQueryUI": true,
"bPaginate": false,"bInfo":false, "oLanguage": {
"sInfoThousands": "."
}
});
};
[/code]
Thanks
Best regards
This discussion has been closed.
Replies
Allan
It's sorting like that
A 990.481
B 99.647
C 94.745
D 925
E 922
F 9.865
...
M 883
N 878
O 86.077
Thanks
Best regards
If you want to sort non-numeric data as numeric data, you need a sorting plug-in: http://datatables.net/development/sorting .
Allan