<?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: problem with autowidth</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth</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/help/problem-with-autowidth/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>kheang on problem with autowidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20268</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20268</guid>
        	        	<description><![CDATA[<p>Ok so I used this to fix my problem.</p>
</p>
<p>gridComplete: function() {</p>
<p>&#160;&#160; &#160;if ($("#jqgrid").is(":visible") &#38;&#38; $("#list tr").length) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;setTimeout(\&#39;$("#list").setGridWidth($("#jqgrid").width());\&#39;,500);<br />&#160;&#160; &#160;}<br />&#160;</p>
<p>}</p>
</p>
<p>im using the gridComplete event so that the resize is done when loading the grib, works for the toolbar search and sort.</p>
<p>also the reason im using visible is because my grid is in another tab using jquery ui, and if i click on another tab it tries to resize and i get a javascript error, so i am using it for that purpose.</p>
</p>
<p>jqgrid is a div i put outside of my table, so im resize to the div&#39;s width after each load.</p>
</p>
<p>and the timeout is to make sure the content is loaded before applying a resize.</p>
</p>
<p>that&#39;s how i was able to fix my issue so far.</p>
]]></description>
        	        	<pubDate>Tue, 12 Oct 2010 19:02:07 +0300</pubDate>
        </item>
        <item>
        	<title>kheang on problem with autowidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20266</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20266</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Without a link to the problem I can not help.</p>
<p>Actually what you can try to do is to have a pure grid without any additional CSS and etc. - just test this in a simple page and then add the othetr thing one by one or vice versa.</p>
</p>
<p>Kind Regrds</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Hi Tony,</p>
</p>
<p>I can understand.</p>
<p>I think I understand the issue itself.</p>
<p>It is because I am using jquery ui tabs.</p>
<p>My jqgrid is in a second tab which is loaded via AJAX.</p>
<p>And the jqgrid is populated using another AJAX call.</p>
<p>The issue arises when before loading the jqgrid, the tab contents load and there are no scrollbars on the right side of the browser.</p>
<p>The jqgrid resizes to the correct width inside&#160;the tab.&#160;</p>
<p>But as the jqgrid content is loaded, scrollbars appear. So&#160;the end&#160;result is the jqgrid is a bit larger than the tab itself so it overflows outside of the tab.</p>
<p>The only way I can think of fixing this is calling my resize after the ajax content of the jqgrid is loaded.&#160;</p>
]]></description>
        	        	<pubDate>Tue, 12 Oct 2010 17:52:44 +0300</pubDate>
        </item>
        <item>
        	<title>tony on problem with autowidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20218</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20218</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Without a link to the problem I can not help.</p>
<p>Actually what you can try to do is to have a pure grid without any additional CSS and etc. - just test this in a simple page and then add the othetr thing one by one or vice versa.</p>
</p>
<p>Kind Regrds</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 11 Oct 2010 09:40:40 +0300</pubDate>
        </item>
        <item>
        	<title>kheang on problem with autowidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20209</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20209</guid>
        	        	<description><![CDATA[<p>Hi guys,</p>
<p>I also noticed another issue.</p>
<p>Don&#39;t know what&#39;s going on but here&#39;s what&#39;s happening.</p>
</p>
<p>Also when the grid I am building returns no records found, the table expands itself and overlaps outside of my jQuery UI tab content box.</p>
</p>
<p>So it&#39;s the same issue as the first one i mentionned but this one is when it&#39;s empty records.</p>
<p>I find it wierd, I don&#39;t know why it&#39;s doing this.</p>
</p>
<p>Any hints or help anyone would be appreciated, thanks!</p>
]]></description>
        	        	<pubDate>Fri, 08 Oct 2010 23:39:36 +0300</pubDate>
        </item>
        <item>
        	<title>kheang on problem with autowidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20133</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20133</guid>
        	        	<description><![CDATA[<p>Anyone else able to reproduce this error?</p>
]]></description>
        	        	<pubDate>Mon, 04 Oct 2010 20:45:38 +0300</pubDate>
        </item>
        <item>
        	<title>kheang on problem with autowidth</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20083</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-with-autowidth#p20083</guid>
        	        	<description><![CDATA[<p>I am using the latest version 3.8&#160;from the site and I noticed in Firefox, the autowidth option when set to true breaks.</p>
<p>What happens is that if there is alot of data and a scrollbar shows in firefox, the width of the grid overflows outside.</p>
</p>
<p>Anyone having this problem too?</p>
<p>I don&#39;t know how to fix it, I tried to resize the grid with the complete event but it doesn&#39;t work.</p>
<p>In IE it&#39;s fine.</p>
</p>
<p>Here is a screenshot without scroll: <br />[Image Can Not Be Found]</p>
<p>Here is the one with a scroll:</p>
<p>[Image Can Not Be Found]</p>
</p>
<p>You can see the grid goes over the white and onto the grey.</p>
]]></description>
        	        	<pubDate>Thu, 30 Sep 2010 21:58:48 +0300</pubDate>
        </item>
</channel>
</rss>