Sort not working

Sort not working

grigziegrigzie Posts: 3Questions: 0Answers: 0
edited May 2010 in Bug reports

Great application!

Just wanted to report a fault - I apologise in advance if it's of my own making.

I've recently been updating a site which included moving from datatables 1.5.4 to 1.6.2 but this has caused me to loose functionality of the sort in Server-Side mode so I have had to revert back. It allows an initial ascending sort by clicking on the column headings but it doesn't toggle to a descending sort on its second (or any subsequent) click.

Thanks again for such a delightful tool!



  • allanallan Posts: 60,307Questions: 1Answers: 9,793 Site admin
    Hi Andrew,

    Check out the change for iSortDir described here:

  • grigziegrigzie Posts: 3Questions: 0Answers: 0
    Hi Allan,

    Thanks for your quick response!

    I've investigated it further and discovered that the first datatable sorts fine. It's only when the second (and third etc) datatable is loaded into the same div via AJAX does the sorting functionality break.

    Do you have any thoughts on how I could fix this?

    Thanks again for all your help so far.

This discussion has been closed.