last page is not sorting correctly

last page is not sorting correctly

vundavunda Posts: 1Questions: 1Answers: 0
edited October 2018 in Free community support
jQuery(document).ready(function(){
    jQuery('.testing table').DataTable({
    "order": [[0, 'asc' ]], this is not working 
    "searching": false,
      "lengthChange": false,
        "columns": [
        null,
            null,
            null,
            null
      ]
    });
});

After clicking on the column "name" shows correctly the A, B, C....but after clicking the same column from Z to A doesn't work. It is showing W, V, and U rather than U, V and W. Please help, I am a new devep working with the datatables library.

Also, the same is happing with the other columns.

Thanks

Answers

  • colincolin Posts: 15,236Questions: 1Answers: 2,598

    Hi @vunda ,

    Here's your code here, and as you can see, it's sorting correctly. Could you modify that example please to demonstrate your problem,

    Cheers,

    Colin

This discussion has been closed.