Sorting by percents
Sorting by percents
AlexKam
Posts: 1Questions: 1Answers: 0
Hi, i'm using Data Table like this
$('#monitoring2_table').DataTable({
columns: [
null,
null,
null,
null,
null,
{ "type": "num-fmt" },
null,
{ "type": "num-fmt" },
null,
{ "type": "num-fmt" },
null,
null,
],
})
But columns with percent sorts look like strings. What i do wrong?
Answers
See if this percent sorting plugin helps. If not then please provide a link to your page or a test case replicating the issue so we can see exactly what you have to offer suggestions.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin