Order DataTable

Order DataTable

jarg5487jarg5487 Posts: 8Questions: 0Answers: 0
edited October 2012 in General
I need to sort the data table in descending order. I try $(document).ready(function(){
function customDataTableCallBack(settings, json){
var table = $('.dTable').dataTable();
table.fnSort([[0,'desc']] );
};
});
But does not works.

Thanks

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    That should work. Please link us to a page showing the issue so we can debug it, as noted in the new post instructions.

    Allan
  • jarg5487jarg5487 Posts: 8Questions: 0Answers: 0
    Thanks Allan, I fixed the issue ...
This discussion has been closed.