$.browser removed from latest jQuery stable causing issues with DataTables
$.browser removed from latest jQuery stable causing issues with DataTables
StephenEllis
Posts: 2Questions: 0Answers: 0
All references to $.browser need to be replaced with whatever $.support equivalent makes sense in each situation to enabled DataTables to function correctly with the current jQuery stable (v1.9).
Issues include columns failing to align correctly, various sizing issues, "no data..." message not "colspan-ed", etc. due to JavaScript errors raised by the above.
Issues include columns failing to align correctly, various sizing issues, "no data..." message not "colspan-ed", etc. due to JavaScript errors raised by the above.
This discussion has been closed.
Replies
Allan
[Edit: I just checked the individual pages for the nightly release of the extras files, and found 2.0.5, which does have the $.browser removed. So perhaps ignore this...]
Secondly, I'm also running into this $.browser issue with the FixedColumns extra. The latest release as of today from the main download link does still have a few instances of $.browser in the non-minified version of the FixedColumns.js file.
I'm pretty excited to start using this FixedColumns addition - as I had told a co-worker that I doubt such a thing exists for scrolling a DataTable like Excel in this regard. So imagine my surprise when in about 5 minutes of searching after returning to my desk, I found this extra. I was thinking to myself "Wow, Allan thought of this too. Impressive."
As far as I am aware, all of the nighties are currently fully compatible with jQuery 1.9. FixedColumns 2.5.0 is a major change and still needs a bit of work before it can be released, but it is stable.
Any feedback on how you find it (issues or otherwise) would help speed up the release.
Allan