<?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: the width increases endless</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/the-width-increases-endless</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/the-width-increases-endless/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>phicarre on the width increases endless</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/the-width-increases-endless#p17030</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/the-width-increases-endless#p17030</guid>
        	        	<description><![CDATA[<p>Tony, we elaborated this solution in order to never have an horizontal scrollbar and to have only a vertical scrollbar when the number of records is greater than a defined number.</p>
</p>
<p>loadComplete: function ()<br />&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var r =  jQuery("#list1&#8243;).getGridParam(&#39;reccount&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var w =  jQuery("#list1&#8243;).getGridParam(&#39;width&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (r &#60;= 12)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list1&#8243;).setGridHeight(&#39;auto&#39;);</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list1&#8243;).setGridHeight(100);&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  else<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list1&#8243;).setGridHeight(100);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  }&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list1&#8243;).setGridWidth(w+1);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;  &#160;<br />&#160;&#160;&#160;&#160; }&#160;</p>
<p>scroll: true</p>
<p>height: &#39;auto&#39;</p>
<p>autowidth:true</p>
<p>When I scroll down, not always, the width of the grid increases endless after each refresh/update !!!</p>
<p>Do you see why ?</p>
]]></description>
        	        	<pubDate>Mon, 10 May 2010 13:03:32 +0300</pubDate>
        </item>
</channel>
</rss>