Sort not working

Sort not working

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

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!

Andrew

Replies

  • allanallan Posts: 57,300Questions: 1Answers: 9,127 Site admin
    Hi Andrew,

    Check out the change for iSortDir described here: http://datatables.net/upgrade/1.6

    Allan
  • 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.

    Andrew
This discussion has been closed.