tag:blogger.com,1999:blog-6236178214788830159.post3146671034903455179..comments2023-07-16T18:29:37.653+09:30Comments on Low Bandwidth: SlickGrid with jQueryUI and BootstrapBen McIntyrehttp://www.blogger.com/profile/04060185826740813798noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-6236178214788830159.post-19864401048194438672015-09-30T19:24:28.705+09:302015-09-30T19:24:28.705+09:30jQueryNewWidthBehaviour = (verArray[0]==1 &&am...jQueryNewWidthBehaviour = (verArray[0]==1 && verArray[1]>=8) || verArray[0] >=2;Ben McIntyrehttps://www.blogger.com/profile/04060185826740813798noreply@blogger.comtag:blogger.com,1999:blog-6236178214788830159.post-86549030861727911392015-09-30T19:21:55.705+09:302015-09-30T19:21:55.705+09:30good catch. however, I think your new code line co...good catch. however, I think your new code line code overwrites the value from the previous line!<br />you should use |=, or use an or || clause to join it to the first line.<br />anyway, I'll patch the repo right now.Ben McIntyrehttps://www.blogger.com/profile/04060185826740813798noreply@blogger.comtag:blogger.com,1999:blog-6236178214788830159.post-45009624101714056832015-09-30T10:53:09.264+09:302015-09-30T10:53:09.264+09:30Hello Ben. Great Work. in "slick.grid.js"...Hello Ben. Great Work. in "slick.grid.js" file, around line 925 where you are checking new jQuery behavior, you only check if major is >=1 and minor >=8, so it will not work if minor release is less than 8, but major release is more than 1, i.e. 2.1.1 etc.<br /><br />For my code, I added the 3rd line below:<br /> var verArray = $.fn.jquery.split('.');<br /> jQueryNewWidthBehaviour = verArray[0]>=1 && verArray[1]>=8;<br /> jQueryNewWidthBehavior = verArray[0] >=2 ; //if jquery version is 2 or more , its automatically greater than 1 :)<br /><br />Just A coderhttps://www.blogger.com/profile/06981565401389003371noreply@blogger.comtag:blogger.com,1999:blog-6236178214788830159.post-84380626210762953192015-06-04T10:32:36.316+09:302015-06-04T10:32:36.316+09:30Thanks! I have been testing on Chrome and IE8, but...Thanks! I have been testing on Chrome and IE8, but testing on a bigger range of browsers would be a bonus.Ben McIntyrehttps://www.blogger.com/profile/04060185826740813798noreply@blogger.comtag:blogger.com,1999:blog-6236178214788830159.post-6413323605482249002015-06-03T22:22:30.428+09:302015-06-03T22:22:30.428+09:30Youre the man! Will keep you updated on if the cha...Youre the man! Will keep you updated on if the change works. Thank youAnonymoushttps://www.blogger.com/profile/06205329842854946820noreply@blogger.com