jquery 1.9 support

jquery 1.9 support

SliceDeCasaSliceDeCasa Posts: 1Questions: 0Answers: 0
edited January 2013 in DataTables 1.9
Hi All,

Is jquery 1.9 supported in the latest version of version of DataTables?

Cheers,

Andrew

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Yes :-).

    TableTools and AutoFill require the dev versions (on the downloads page), but DataTables core does indeed support jQuery 1.9.

    Allan
  • pacho911pacho911 Posts: 2Questions: 0Answers: 0
    I'm trying to use DataTable version 1.9.4 with the latest version of jQuery 1.9.0, but does not. But if I use jQuery 1.8.3, it works wonderfully. What could be missing? o Can not use DataTable jQuery 1.9.0 still?

    Thank!
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    DataTables 1.9.4 without any extensions should work just fine with jQuery 1.9.0. Please link to a test case if this is not the case.

    Allan
  • josh_brackettjosh_brackett Posts: 1Questions: 0Answers: 0
    It looks like there is one issue with > jQuery 1.9.0 in the fnDestroy method. It's using andSelf() which was replaced by addBack() according to the JQuery Migrate plugin.
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Thanks for pointing that out. I hadn't realised that andSelf was deprecated in 1.8. Not removed in jQuery 1.9 fortunately, but nonetheless I've put in a change to DataTables to not use it (nor to use andBack since that would make jQuery 1.8+ a requirement): https://github.com/DataTables/DataTables/commit/fad7536 .

    That change will be in DataTables 1.10.

    Allan
This discussion has been closed.