New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jQuery 1.9/2.0 support #518
Comments
Perhaps ($.browser.mozilla) could be replaced with ('MozBoxSizing' in document.documentElement.style) ? and ($.browser.msie) with ('msTransform' in document.documentElement.style) ? |
Yes, slickgrid needs to hold pace with jQuery or this great tool becomes obsolete! |
+1 |
+1 I've also found an issue with the column resizing and jQuery 1.9.0. Issues #462 and #484 touched on it but havent fixed it. It's easy to replicate with the latest code and the examples.
I can work around this by tweaking jquery.event.drag-2.0.js (line 278) as follows: From: Any idea when we can get support for this? |
You can update to the latest version of jquery UI, 1.10, and jquery.event.drag, version 2.2 I believe, and it solves this issue. |
@Mogglewump is quite correct. You can get it here: http://threedubmedia.com/code/event/drag. I also found I have to retrofit $.browser support, which can be done either using the full jquery migrate plugin, or just the one browser method as shown here: http://stackoverflow.com/questions/14545023/jquery-1-9-browser-detection |
The move to jquery.event.drag.2.2 resolved it for us thanks! |
Bump! Is slickgrid dead? |
+1 |
As far as I know, there are no more existing incompatibilities with jQuery 1.9/2.0. |
excellent. Thanks for keeping it compatible! 👍 |
Thanks! |
I am confused. My version of jquery.event.drag.2.2, which got from the link provided above, clearly states at the top of the file that it requires jquey 1.7.X -- and it only works for me with 1.7 -- the grid fails to load with 1.9 What am I missing here? |
Awesome! Thank you for your time. |
Hi, With SlickGrid 2.0.2 & jQuery 1.10.1, I am having an issue: function getMaxSupportedCssHeight() {
var supportedHeight = 1000000;
// FF reports the height back but still renders blank after ~6M px
var testUpTo = ($.browser.mozilla) ? 6000000 : 1000000000; Indeed |
I just extended jQuery with the code below; although it does not directly answer your question it will definitely fix the problem with as few lines of code as possible.
|
Get the latest SlickGrid code. |
Hi @mleiban -- Not sure I understand the issue resolution here. I recognize I'm coming in 6 months later so I'm probably missing something. Latest versions of jquery don't include $.browser and the latest build of slickgrid that I pull down from bower (v2.0.2) still depends on it. Am I on an old version of slickgrid? I can resolve this by depending on jquery#1.8.3, but would like to use jquery latest stable. |
I see -- bower pulls down old code because there hasn't been a release tag in a while. Maybe just tagging off the 2.1 version, if it's pretty stable? Would resolve this $.browser issue and also the broken inertial scrolling in osx webkit: 34d768d |
2.1 has been tagged a while ago and is stable. |
I see that github has the 2.1 tag, but bower does not identify it. The result is that folks using bower are getting an old version. Here is what bower sees for available versions:
I'm unsure if this is related to a semver formatting issue or what but I'm looking at it now... |
I'm not familiar with bower.
|
Bower is a really handy tool for transporting dependencies to your app--npm for the front end. Nice to learn because it saves us a lot of time but you shouldn't need to do anything specific to support it. It does seem likely that there's something non-standard about your version tags. I'm suspicious of Interesting clue: the git UIs sort 2.02 before 2.1: I wonder if this is related to why bower picks 2.0.2 instead of 2.1? Maybe it stops reading at an invalid semver tag? I've opened a related issue with the bower team here: bower/bower#993 |
I tried to update to jQuery 2. After that column resizing did not work anymore. |
We've tested SlickGrid with jQuery 1.9 and found it is incompatible.
What first jumped to our notice is that SlickGrid uses $.browser which was removed from the new releases and move into independent jQuery plugin.
The text was updated successfully, but these errors were encountered: