wrong row ordering
wrong row ordering
xWestice
Posts: 1Questions: 1Answers: 0
Link to test case:
** $('#export').DataTable( {
//scrollY: 600,
//paging: false,
dom:"iptlf",
"pageLength": 100,
buttons: ['copy',
{
extend: 'excelHtml5',
title: "<? echo $header; ?>"
},
{
extend: 'csvHtml5',
title: "<? echo $header; ?>"
},
'print', {text: "email",
action: function (e ,dt, node, config){
location.href = "javascript:mailPage('inbound.html')";
}} ],**:
Hello guys my problem is I have a column in mysql when I get the variables and print with echo its 1 2 3 ... but them in a table its coming with wrong order its must be 1 2 3 ... but its 1 10 9 8 ... anyone can help me ? sorry for bad english:
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
That's string sorting - so you've probably got a string value in the data for that column. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin