<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: fixing width calculation of the grid in Google Chrome 19</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Albertz on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p27653</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p27653</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I am using jqGrid 4.4.1 and have this problem, not only on any specific browser, all four of them (although in different ways.)</p>
<p>Is this really related to the rendering engine?</p>
<p>As I see it, the code contains the line:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1295' value='Select Code' data-codeid='sfcode1295' /></p>
<div class='sfcode' id='sfcode1295'>if(rowInd===0) {<br />result += &#34;width: &#34;+grid.headers[pos].width+&#34;px;&#34;;</div>
<p>I am guessing, but does this code take the width from the definition? This code writes the width to the header cell and later on the total of the columns&#39; width is written to the various layers.</p>
<p>Then in the ui.jqgrid.css there are definitions for ".ui-jqgrid .ui-jqgrid-htable TH" and ".ui-jqgrid TR.jqgrow TD" which add 2px to the left and the right of the cells and then there is 1px for the collapsed border of the table. I found this because I have one table with 13 columns and one table with three columns, the rendered difference (of the cells) is 50&#160; pixels i.e. 5 pixels per column.</p>
<p>The written total width for the various layers however doesn&#39;t seem to take into account the padding in the css. This discussion about getting values from the css may help: <a href="http://stackoverflow.com/questions/7131462/getting-values-of-global-stylesheet-in-jquery" target="_blank">Stackoverflow</a>.</p>
]]></description>
        	        	<pubDate>Fri, 02 Nov 2012 17:44:11 +0200</pubDate>
        </item>
        <item>
        	<title>dreamcatcher on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p27236</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p27236</guid>
        	        	<description><![CDATA[<p>Problem still continue for subgrid and treegrid.&#160;</p>
]]></description>
        	        	<pubDate>Fri, 31 Aug 2012 04:28:06 +0300</pubDate>
        </item>
        <item>
        	<title>JMac on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26671</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26671</guid>
        	        	<description><![CDATA[<p>Thx Oleg - I was using the version you posted on stackoverflow, didn&#39;t grasp that the github version used a different approach. &#160;Will go get that one.</p>
]]></description>
        	        	<pubDate>Fri, 25 May 2012 14:00:47 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26668</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26668</guid>
        	        	<description><![CDATA[<p>Thank you for information about Chrome 20 beta. I used information from <a href="http://de.wikipedia.org/wiki/Google_Chrome#Versionsgeschichte" target="_blank">wikipedia</a>&#160;where (at least till now) one find that Chrome 20 has&#160;536.6 instead of 536.11. So in my implementation of the fix one should use probably something like &#60;536 instead of &#60;536.5. It&#39;s interesting whether the same problem will exist in the next version of Safari and so it&#39;s really the change in Webkit.</p>
<p>If one uses the approch suggested by Tony (and implemented already in the current code of jqGrid on github) the problem with Chrome 20 beta is not exist.</p>
<p>Best regards<br />Oleg</p>
<p>P.S. @Tony: It would be fine to publish new version of jqGrid which would include all the last fixes.</p>
]]></description>
        	        	<pubDate>Fri, 25 May 2012 09:03:31 +0300</pubDate>
        </item>
        <item>
        	<title>JMac on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26667</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26667</guid>
        	        	<description><![CDATA[<p>The bug has reappeared in Chrome 20 Beta&#160;beta 20.0.1132.11. &#160;Iit reports the following:</p>
<p>User-Agent:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.11 Safari/536.11</p>
<p>I&#39;m guessing 536.11 is evaluating as &#60; 536.5 due to numeric vs text comparison causing the patch not to be operative?</p>
]]></description>
        	        	<pubDate>Fri, 25 May 2012 06:51:57 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26632</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26632</guid>
        	        	<description><![CDATA[<p>Hi <strong>alexandrem</strong>,</p>
<p>You could see on the demo like <a href="http://www.ok-soft-gmbh.com/jqGrid/Chrome19Fix_.htm" target="_blank">this one</a>&#160;that the fix do work. If you can provide the demo which use new code and work incorrectly then one can improve the fix. If I read just "it works not at me" I fill that I speak with a child. Sorry, but it&#39;s so. You are not the only person who posted me such kind of issues. I beleve you that there are more problems as fixed now, but <em>without having test case which reproduce the problem we can&#39;t fix it</em>.</p>
<p>So <strong>in the future I will just ignore any such posts or e-mails where no code are posted and no test case is provided</strong>. Sorry, bur I see no other way.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Fri, 18 May 2012 16:46:05 +0300</pubDate>
        </item>
        <item>
        	<title>alexandrem on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26629</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26629</guid>
        	        	<description><![CDATA[<p>I downloaded the commit on github but fixes only body, the header is unaligned</p>
]]></description>
        	        	<pubDate>Fri, 18 May 2012 15:49:29 +0300</pubDate>
        </item>
        <item>
        	<title>gabbosam on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26627</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26627</guid>
        	        	<description><![CDATA[<blockquote>
<p>OlegK said:</p>
<p>Like corrently mention&#160;Justin (see <a href="https://github.com/tonytomov/jqGrid/commit/3988795bc8d1ac43e349af4eec42f1032f82bb1f#commitcomment-1344755" target="_blank">here</a>) the code still work incorrectly if the page has some existing &#60;td&#62; element on the page. I posted my suggestion in <a href="https://github.com/tonytomov/jqGrid/commit/3988795bc8d1ac43e349af4eec42f1032f82bb1f#commitcomment-1345171" target="_blank">the comment</a>. In any way we are very close to fixing of the problem.</p>
<p>Best regards<br />Oleg&#160;</p>
</blockquote>
<hr />
<p>Hi to all,</p>
<p>i&#39;m using jqGrid 3.8.2, but i&#39;ve done a backporting of some functions of 4 version (setGridWidth, ShowHideCold, setColWidth), &#160;and i tested the original fix of tony (without lastest change) in Chrome 10, 18 e 19 without problem.</p>
<p>Bye&#160;</p>
<p>Gabriele</p>
]]></description>
        	        	<pubDate>Fri, 18 May 2012 09:45:49 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26624</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26624</guid>
        	        	<description><![CDATA[<p>Like corrently mention&#160;Justin (see <a href="https://github.com/tonytomov/jqGrid/commit/3988795bc8d1ac43e349af4eec42f1032f82bb1f#commitcomment-1344755" target="_blank">here</a>) the code still work incorrectly if the page has some existing &#60;td&#62; element on the page. I posted my suggestion in <a href="https://github.com/tonytomov/jqGrid/commit/3988795bc8d1ac43e349af4eec42f1032f82bb1f#commitcomment-1345171" target="_blank">the comment</a>. In any way we are very close to fixing of the problem.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 23:54:24 +0300</pubDate>
        </item>
        <item>
        	<title>tony on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26622</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26622</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>Thanks. The function is fixed. Tested with 18 and 19 Chrom versions - return diffrent results</p>
<p>Regards</p>
</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 20:23:45 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26620</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26620</guid>
        	        	<description><![CDATA[<p>Hallo Tony,</p>
<p>I named my suggestion at the beginning as quick and dirty solution, so I full agree that it would be fine to find in the future more better way. Nevetheless I don&#39;t think that the code which you wrote above will work correctly.</p>
<p>The first problem with above code is that <strong>ts.p.cellLayout</strong> can be set to <strong>0</strong>. So the width of the table will be also <strong>0</strong>. You fixed already the problem in the code of&#160;<strong>cellWidth</strong>&#160;function which can be find in the code of jqGrid on the github. The function contain the following code now:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5659' value='Select Code' data-codeid='sfcode5659' /></p>
<div class='sfcode' id='sfcode5659'>cellWidth : function () {<br />&#160; &#160; var testcell = $(&#34;&#60;div class=&#39;ui-jqgrid&#39;&#62;&#60;table class=&#39;ui-jqgrid-btable&#39; style=&#39;width:5px;&#39;&#62;&#34; +<br />&#160; &#160; &#160; &#160; &#160; &#160; &#34;&#60;tr class=&#39;jqgrow&#39;&#62;&#60;td style=&#39;width:5px;&#39;&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;&#60;/div&#62;&#34;).find(&#34;td&#34;).width(),<br />&#160; &#160; ret = ( testcell != 5);<br />&#160; &#160; testcell = null;<br />&#160; &#160; return ret;<br />}&#160;</div>
<p>I think that the <strong>$.jgrid.cellWidth()</strong> function <span style="text-decoration: underline;"><em>returns always false</em></span>. To be sure I tested it in Chrome 18 and verify that it is really so. The problem is that one uses <em>disconnected</em> DOM fragment. So the <strong>jQuery.width()</strong> will just get the value from the CSS style. If you would replace at the end of expression for <strong>testcell</strong> from <strong>.find("td").width()</strong> to <strong>.width()</strong> you will get <strong>0</strong>&#160;as the result (div has width 0). If you would remove <strong>style=&#39;width:5px;&#39;</strong> from <strong>table</strong> element of the expression and use <strong>.find("table").width()</strong> you will get <strong>0</strong> too.</p>
<p>I think that testing (feature detection) is in general&#160;the better way. It will be possible to implement, but I think it will be need more large changes in jqGrid. I suppose that one could use <strong>jQuery.width</strong>&#160;for example for all calls from the first row, sum all the widthes and set the table width based on the value. The way has advantage that it will be used <em>the real table</em> (grid), so even if the user added some <em>additional CSS classes</em> which increase for example padding in the cells or even if the CSS used grid id only, the approach will work. The main disadvantage of the approach is <em>the creating of the grid inside of hidden div</em>. For example if one have jQuery UI tabs and want to create grid on the tab which currently hidden, than I suppose that all widthes will return 0.</p>
<p>In my original I suggested to use <strong>parseFloat($.browser.version)</strong>. The main idea was to provide a solution which work correctly in Chrome and <em><span style="text-decoration: underline;">which work exactly as before on all other browsers</span></em>. We can&#39;t test the new version in all other old browsers. So I wanted to have <em>minimal changes for all other browsers</em>. It was just pragmatical way.</p>
<p>Probably one can improve the way by using something like</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6825' value='Select Code' data-codeid='sfcode6825' /></p>
<div class='sfcode' id='sfcode6825'>var isChrome = navigator.userAgent.toLowerCase().indexOf(&#39;chrome&#39;) &#62; -1;</div>
<p>One can change the value of old <strong>isSafari</strong> variable so that&#160;no changes for Safari will be done:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1109' value='Select Code' data-codeid='sfcode1109' /></p>
<div class='sfcode' id='sfcode1109'>isSafari = ($.browser.webkit &#124;&#124; $.browser.safari) &#38;&#38;<br />&#160; &#160; (window.navigator.userAgent.toLowerCase().indexOf(&#39;chrome&#39;) &#60; 0 &#124;&#124;<br />&#160; &#160; &#160; &#160; parseFloat($.browser.version)&#60;536.5) ? true : false;<br />&#160; &#160; // if Webkit and not Chrome or Chrome, but version &#60; 19</div>
<p>Currently Safari 5.1.7 use more old version of Webkit. The variable <strong>window.navigator.userAgent</strong> is on my computer</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7460' value='Select Code' data-codeid='sfcode7460' /></p>
<div class='sfcode' id='sfcode7460'>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5</div>
<p>for Chrome 19 and</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2650' value='Select Code' data-codeid='sfcode2650' /></p>
<div class='sfcode' id='sfcode2650'>Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.57.2 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2</div>
<p>for Safari 5.1.7. If one will see that the same problem as Chrome 19&#160;will be have the nex version of Safari one could ajust the calculation of <strong>isSafari</strong> variable to for example the original value which I suggested.</p>
<p>Later if one will find better and safe way one can make more changes, but I think that your current suggestion Tony works not correct.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 16:17:41 +0300</pubDate>
        </item>
        <item>
        	<title>gabbosam on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26618</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26618</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Thanks. Fixed in GitHub using another approach, but the result is the same.</p>
<p>Regards</p>
</blockquote>
<hr />
<p>Of course!&#160;Great!</p>
<p>Bye</p>
<p>Gabriele</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 13:02:26 +0300</pubDate>
        </item>
        <item>
        	<title>tony on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26617</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26617</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Fixed in GitHub using another approach, but the result is the same.</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 13:00:27 +0300</pubDate>
        </item>
        <item>
        	<title>gabbosam on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26616</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26616</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello Oleg,</p>
<p>As usual &#8211; Thanks.</p>
<p>IMHO the better if we replace</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8089' value='Select Code' data-codeid='sfcode8089' /></p>
<div class='sfcode' id='sfcode8089'>
<p>isSafari = $.browser.webkit &#124;&#124; $.browser.safari ? true : false;</p>
</div>
<p>with</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4841' value='Select Code' data-codeid='sfcode4841' /></p>
<div class='sfcode' id='sfcode4841'>
<p>var testcell = $(&#34;&#60;div class=&#39;ui-jqgrid&#39;&#62;&#60;table class=&#39;ui-jqgrid-btable&#39; style=&#39;width:&#34;+ts.p.cellLayout+&#34;px;&#39;&#62;&#60;tr class=&#39;jqgrow&#39;&#62;&#60;td style=&#39;width:&#34;+ts.p.cellLayout+&#34;px;&#39;&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;&#60;/div&#62;&#34;).find(&#34;td&#34;).width(),</p>
<p>isSafari = ( ts.p.cellLayout != testcell );</p>
</div>
<p>This is better since it is unknown that with the next release it will be back.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Hi tony,</p>
<p>the fix above must be have done into setGridWidth and ShowHideCol functions.</p>
<p>those functions use $.browser.webkit &#124;&#124; $.browser.safari condition....</p>
</p>
<p>My fix is:</p>
<ol>
<li>Store into a parameter isSafari flag. ts.p.isSafari = isSafari;</li>
<li>use that param in &#160;setGridWidth and ShowHideCol functions</li>
</ol>
<p>Hope this helps</p>
<p>Bye</p>
<p>Gabriele</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 12:48:46 +0300</pubDate>
        </item>
        <item>
        	<title>tony on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26612</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26612</guid>
        	        	<description><![CDATA[<p>Hello Oleg,</p>
<p>As usual &#8211; Thanks.</p>
<p>IMHO the better if we replace</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit665' value='Select Code' data-codeid='sfcode665' /></p>
<div class='sfcode' id='sfcode665'>
<p>isSafari = $.browser.webkit &#124;&#124; $.browser.safari ? true : false;</p>
</div>
<p>with</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1119' value='Select Code' data-codeid='sfcode1119' /></p>
<div class='sfcode' id='sfcode1119'>
<p>var testcell = $(&#34;&#60;div class=&#39;ui-jqgrid&#39;&#62;&#60;table class=&#39;ui-jqgrid-btable&#39; style=&#39;width:&#34;+ts.p.cellLayout+&#34;px;&#39;&#62;&#60;tr class=&#39;jqgrow&#39;&#62;&#60;td style=&#39;width:&#34;+ts.p.cellLayout+&#34;px;&#39;&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;&#60;/div&#62;&#34;).find(&#34;td&#34;).width(),</p>
<p>isSafari = ( ts.p.cellLayout != testcell );</p>
</div>
<p>This is better since it is unknown that with the next release it will be back.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 09:56:01 +0300</pubDate>
        </item>
        <item>
        	<title>JMac on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26611</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26611</guid>
        	        	<description><![CDATA[<p>Thanks Oleg - fixed most of my problem! &#160;I still get it on some of my grids though - seems to be those with grouping.</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 02:39:08 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on fixing width calculation of the grid in Google Chrome 19</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26607</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixing-width-calculation-of-the-grid-in-google-chrome-19#p26607</guid>
        	        	<description><![CDATA[<p>Hallo Tony,</p>
<p>I have updated today my Chrome to version 19 and could reproduce the problem described <a href="http://stackoverflow.com/q/10588587/315935" target="_blank">here</a>. I wrote my suggestions in my answer on the question. I post it here too.</p>
<p>As quick fix of the problem one can change <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.2/js/grid.base.js#L937" target="_blank">the line</a>&#160;</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4615' value='Select Code' data-codeid='sfcode4615' /></p>
<div class='sfcode' id='sfcode4615'>isSafari = $.browser.webkit &#124;&#124; $.browser.safari ? true : false;</div>
<p>to</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3483' value='Select Code' data-codeid='sfcode3483' /></p>
<div class='sfcode' id='sfcode3483'>isSafari = ($.browser.webkit &#124;&#124; $.browser.safari) &#38;&#38;<br />&#160; &#160; parseFloat($.browser.version)&#60;536.5 ? true : false; // Chrome &#60; version 19&#160;</div>
<p>It&#39;s quick and dirty solution of cause, but how <a href="http://www.ok-soft-gmbh.com/jqGrid/Chrome19Fix.htm" target="_blank">the demo</a> demonstrate the fix works in all browsers in which I tested it.</p>
<p>Best regards<br />Oleg&#160;</p></p>
]]></description>
        	        	<pubDate>Wed, 16 May 2012 18:52:50 +0300</pubDate>
        </item>
</channel>
</rss>