<?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: Space for vertical scrollbar grabbed by grid</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/space-for-vertical-scrollbar-grabbed-by-grid</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/space-for-vertical-scrollbar-grabbed-by-grid/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>snobo on Space for vertical scrollbar grabbed by grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/space-for-vertical-scrollbar-grabbed-by-grid#p25413</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/space-for-vertical-scrollbar-grabbed-by-grid#p25413</guid>
        	        	<description><![CDATA[<p>I don&#39;t know if this applies to your case, but I had the same issue, and after spending a day on scratching my head and then half an hour on debugging jqGrid, I have found that it ignores scrollOffset whenever <em>height you specify for the grid is not a strict integer</em>, like "20em" for example:</p>
<div id="sfcode2704" class="sfcode">
<p>if(isNaN(ts.p.height)) {</p>
<p>} else {</p>
<p><span style="white-space: pre;"> </span>aw -= scw; // =ts.p.scrollOffset</p>
<p><span style="white-space: pre;"> </span>hs = true;&#160;</p>
<p>}</p>
</div>
<p>(grid.base.js #1966)</p>
<p>in my case, I tried setting grid height in ems, like "20em", and isNaN returns true for this value. Conclusion: follow the docs strictly, which say that height "can be set as&#160;<strong><em>number</em></strong>&#160;(in this case we mean pixels) or as percentage (only 100% is acceped) or value of auto is acceptable."</p>
]]></description>
        	        	<pubDate>Wed, 14 Dec 2011 16:48:40 +0200</pubDate>
        </item>
        <item>
        	<title>lspcity on Space for vertical scrollbar grabbed by grid</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/space-for-vertical-scrollbar-grabbed-by-grid#p24960</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/space-for-vertical-scrollbar-grabbed-by-grid#p24960</guid>
        	        	<description><![CDATA[<div id="post24959">
<p>Hi,</p>
<p>when I resize the width of the grid and scrolling is not needed, the space for the vertical scrollbar is grabbed by the grid table.</p>
<p>If I change the number of rows and the vertical scrollbar is needed, I get a  horizontal scrollbar too, because jqGrid doesn&#39;t resize the grid table and the width of the scrollbar is added to the width of the grid table.</p>
<p>Is it possible to force that the space for the vertical scrollbar is never grabbed by the grid table?</p>
<p>The option scrollOffset didn&#39;t work.</p>
</p>
<p>I used jqGrid 4.2, jQuery 1.6.4, jQuery UI 1.8.16 with Firefox 7.0.1 and Windows 7 x64</p>
</p>
<p>Best regards</p>
<p>lspcity</p>
</div>
]]></description>
        	        	<pubDate>Mon, 24 Oct 2011 10:18:36 +0300</pubDate>
        </item>
</channel>
</rss>