javascript - jqGrid 4.4.5 Grid column width rendering issue in Chrome -
i'm developing jqgrid 4.4.5 fir first time , i've run old bug fix found in past versions, i'm developing jquery 1.9.1 , jqueryui 1.9.2 well.
the original issue , fix posted here. i'm getting same trouble new versions of these plugins, familiar jquery 1.9 know $.browser
has been deprecated. makes previous solution unusable. similar solution, or @ least jqgrid 4.4.5 equivalent of code in new version of plugin?
note: add maybe not mentioned before, issue recreate-able setting browser zoom 90% or smaller. @ 100% zoom renders correctly, less 100% gives trouble. (i need rendering @ 90% zoom).
note: have switched 4.3.1 test old fix applied , worked perfectly, seems old trouble chrome me.
thanks in advance , effort in helping me trouble.
kind regards,
pieter.
you can make same condition here $.browser in jquery 1.9 using following code , use same solution posted in link
you can check browser condition using below code.
jquery.uamatch = function( ua ) { ua = ua.tolowercase(); var match = /(chrome)[ \/]([\w.]+)/.exec( ua ) || /(webkit)[ \/]([\w.]+)/.exec( ua ) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec( ua ) || /(msie) ([\w.]+)/.exec( ua ) || ua.indexof("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec( ua ) || []; return { browser: match[ 1 ] || "", version: match[ 2 ] || "0" }; }; matched = jquery.uamatch( navigator.useragent ); //browser = {}; //var cursortype = evt.target.style.cursor; if(matched.browser.tolowercase()=="mozilla") { } else { }
other wise if referring jquery 1.9 , using 1.4 supported codes means u can refer jquery.migrate .js script file in application.
http://blog.jquery.com/2013/02/16/jquery-migrate-1-1-1-released/
https://github.com/jquery/jquery-migrate/
thanks,
siva
Comments
Post a Comment