<?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: autowidth bug?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug</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/autowidth-bug/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7918</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7918</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I&#39;m sure that this bug is corrected</p>
<p><a href="http://github.com/tonytomov/jqGrid/commit/87ceefede8dcc4f69ce39766741fe87ea5b76700" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....7ea5b76700</a></p>
</p>
<p>Try to clear your cache.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 20 Jul 2009 11:23:22 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7885</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7885</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I got the new build installed and I still have the same problem.&#160; I went the V3.5 examples and I didn&#39;t find the autowidth example there.&#160;&#160; Did you remove that example?</p>
<p>I remember there was one because I noticed that you had column widths declared.&#160; I hope it was just an oversite.</p>
<p>Thanks,</p>
</p>
<p>Jim</p></p>
]]></description>
        	        	<pubDate>Fri, 17 Jul 2009 13:59:34 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7822</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7822</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Is there another source to download the files.&#160; When I try to download files from Githup <a href="http://github.com/tonytomov/jqGrid/tree/master" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....ree/master</a></p>
</p>
<p>I get a page error and don&#39;t start a download session.</p>
<p>Thanks,</p>
</p>
<p>Jim</p>
]]></description>
        	        	<pubDate>Tue, 14 Jul 2009 14:43:06 +0300</pubDate>
        </item>
        <item>
        	<title>tony on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7817</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7817</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There was a bug in setGridWidth when a multiple grids are resized. Use the latest build.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 14 Jul 2009 12:32:39 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7797</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7797</guid>
        	        	<description><![CDATA[<p>Ok Tony,</p>
<p>I change the loadcomplete to gridcomplete and the behavoir is still the same.&#160; The first grid on the page is fine and the reat have the white space.</p>
<p>On the lower grids you can see the grid briefly fill the space and then snap to the shrunken version.</p>
<p>Jim</p></p>
]]></description>
        	        	<pubDate>Mon, 13 Jul 2009 15:14:16 +0300</pubDate>
        </item>
        <item>
        	<title>tony on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7760</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7760</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Use gridComplete and not loadComplete</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 10 Jul 2009 07:39:00 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7737</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7737</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>Your fix:</p>
<p>loadComplete:function(){</p>
<p>&#160;var gw = parseInt($("#mygrid").getGridParam("width"));</p>
<p>// hide some columns code here</p>
<p>$(&#8221;#mygrid&#8221;).setGridWidth(gw-0.01,true);</p>
<p>}</p>
<p>Worked great, except if there are multiple grids on a page.&#160; From the&#160;2nd&#160;grid on&#160;the grid still have the block of white space where the columns are not resizing.&#160; For each grid I changed the var name:&#160; gw, sgw, pgw.</p>
<p>Do you have any ideal why this is happening? and of course a fix.</p>
<p>Thanks,</p>
<p>Jim</p></p>
]]></description>
        	        	<pubDate>Thu, 09 Jul 2009 08:41:44 +0300</pubDate>
        </item>
        <item>
        	<title>tony on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7410</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7410</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is not a bug, but a way that autowidth works. This option resize the initially grid to the width of the parent element.</p>
<p>In your case you hide some columns after the grid is setted.</p>
<p>Also you can use the following trick</p>
<p>loadComplete:function(){</p>
<p>var gw = parseInt($("#mygrid").getGridParam("width"));</p>
<p>// do here hide of columns</p>
<p>// at end</p>
<p>$("#mygrid").setGridWidth(gw-0.01,true);</p>
<p>}</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Tue, 23 Jun 2009 03:14:06 +0300</pubDate>
        </item>
        <item>
        	<title>Jim P on autowidth bug?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7393</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/autowidth-bug#p7393</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I have some columns in the column model set initially to hide dynamically with the loadComplete fuction.</p>
<p>loadComplete:function(){<br />&#160;&#160;&#160;&#160;&#160;&#160;// Hide the site name column per user settings <br />&#160;&#160;&#160;&#160;&#160;&#160;var hidesite = &#60;cfoutput&#62;#session.myGridOC_Site_Name#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hidesite == 0){<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").hideCol("x_site_name");<br />&#160;&#160;&#160;&#160;&#160;&#160;}<br />&#160;&#160;&#160;&#160;&#160;&#160;// Hide the Account Name column per user settings <br />&#160;&#160;&#160;&#160;&#160;&#160;var hideacctname = &#60;cfoutput&#62;#session.myGridOC_Acct_Name#&#60;/cfoutput&#62;;<br />&#160;&#160;&#160;&#160;&#160;&#160;if(hideacctname == 0){<br />&#160;&#160;&#160;&#160;&#160;&#160;$("#slist").hideCol("name");<br />&#160;&#160;&#160;&#160;&#160; &#160;}</p>
<p>....... more columns like above.</p>
<p>Under 3.5 I get&#160; a big chunk of empty column space on the right side of the grid.&#160; With autowidth set to "true", I would expect the grid to fill the entire grid.&#160; It doesn&#39;t.&#160; Is this a bug?</p>
<p>Jim</p>
]]></description>
        	        	<pubDate>Mon, 22 Jun 2009 13:05:04 +0300</pubDate>
        </item>
</channel>
</rss>