<?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: Resize empty grid in tab - IE 8</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/resize-empty-grid-in-tab-ie-8</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/resize-empty-grid-in-tab-ie-8/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>henry99999 on Resize empty grid in tab - IE 8</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/resize-empty-grid-in-tab-ie-8#p20012</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/resize-empty-grid-in-tab-ie-8#p20012</guid>
        	        	<description><![CDATA[<p><span style="color: #ff0000;">THIS HAS BEEN FIXED IN 3.8.</span></p>
<p>Thank you!</p>
</p>
<p>Hi,</p>
</p>
<p>First of all, thank you for providing such an excellent grid!!! I love it.</p>
<p>I found an issue while running the grid in a jquery tab in IE8.&#160; The following code works fine in FF but doesn&#39;t resize the grid in IE8 if the grid is empty(zero data, only column headers)&#8230; As soon as I add one line of data, the grid resizes in IE8&#8230; so empty &#60;tbody&#62; means not visible???</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3668' value='Select Code' data-codeid='sfcode3668' /></p>
<div class='sfcode' id='sfcode3668'>
<p>function resizeAllGrids() {<br />&#160;&#160;&#160; if (grid = $(&#39;.ui-jqgrid-btable:visible&#39;)) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; grid.each(function(index) {<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;gridId = $(this).attr(&#39;id&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;gridParentWidth = $(&#39;#gbox_&#39; + gridId).parent().width();<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;#&#39; + gridId).setGridWidth(gridParentWidth);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160; };<br />};</p>
</div>
]]></description>
        	        	<pubDate>Mon, 27 Sep 2010 08:45:52 +0300</pubDate>
        </item>
</channel>
</rss>