jquery 1.9 support on FixedColumns

jquery 1.9 support on FixedColumns

jwinterjwinter Posts: 9Questions: 2Answers: 0
edited January 2013 in DataTables 1.9
The FixedColumns package throws some errors with Jquery 1.9 -- will this be updated soon?

Replies

  • allanallan Posts: 63,389Questions: 1Answers: 10,449 Site admin
    edited January 2013
    Patches welcome :-).

    This is the line that is causing the problem:

    [code]
    "bOldIE": ($.browser.msie && ($.browser.version == "6.0" || $.browser.version == "7.0"))
    [/code]

    I'd say just change that to false for now. I'm thinking of dropping support for old IE anyway - particularly given that jQuery is doing so without extra plug-ins.

    Allan
  • jwinterjwinter Posts: 9Questions: 2Answers: 0
    Thanks. Tried that, but got another error on line 40 of minified version.
    TypeError: c.browser is undefined
  • allanallan Posts: 63,389Questions: 1Answers: 10,449 Site admin
    There is another check for Mozilla and Opera later in the code which will also need to be removed. Or you could use the jQuery compatibility plug-in.

    I'll try to look at updating FixedColumns soon, but it will probably be a week or so before I can.

    Allan
  • pacho911pacho911 Posts: 2Questions: 0Answers: 0
    jwinter, How did you get that worked with 1.9.4 DataTable jQuery 1.9.0?.

    Thanks!
  • allanallan Posts: 63,389Questions: 1Answers: 10,449 Site admin
    @pacho911 - Please do not cross post. See http://datatables.net/forums/discussion/13713/jquery-1.9-support#Item_2
This discussion has been closed.