Checkbox Column Sorting not working with jQuery 1.9.x

Checkbox Column Sorting not working with jQuery 1.9.x

zurbzurb Posts: 2Questions: 0Answers: 0
edited May 2013 in Bug reports
I tried to implement this on my tables: http://www.datatables.net/examples/plug-ins/dom_sort.html
However, I found out that this is only working up to jQuery release 1.8.3, but not with 1.9.x or 1.10.x. This is probably a known issue, but I found no reference to that even after a lot of searches.

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    The code here should work okay: http://datatables.net/release-datatables/examples/plug-ins/dom_sort.html . However that in the 1.9.4 release will no as jQuery 1.9 changed the order of nodes which are not in the DOM.

    This is the commit that fixes the example: https://github.com/DataTables/DataTables/commit/e00037a1af0c680848682fc4b85b0dd6caef9de1

    Allan
  • zurbzurb Posts: 2Questions: 0Answers: 0
    Thank you Allan for the quick response, it solved my problem!
This discussion has been closed.