<?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: Bug with column resizing in fit to screen with multiselect</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-with-column-resizing-in-fit-to-screen-with-multiselect</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/bug-with-column-resizing-in-fit-to-screen-with-multiselect/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Bug with column resizing in fit to screen with multiselect</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-with-column-resizing-in-fit-to-screen-with-multiselect#p15869</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-with-column-resizing-in-fit-to-screen-with-multiselect#p15869</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for this investigation. Could you please send a link to the problem?</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 22 Mar 2010 11:24:06 +0200</pubDate>
        </item>
        <item>
        	<title>cforsyth on Bug with column resizing in fit to screen with multiselect</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/bug-with-column-resizing-in-fit-to-screen-with-multiselect#p15840</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/bug-with-column-resizing-in-fit-to-screen-with-multiselect#p15840</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>I was having a problem with the last column of the grid growing whenever I resize things. &#160;I tried your fix on March 2nd,</p>
<blockquote>
<pre>"Fix a method of calculation of the width in setGridWidth method where the 
repeated calling of the method causes the last column to grow"</pre>
</blockquote>
<p>But the problem got much worse for me when it seemed to get better for other people in the forums.  I&#39;ve tracked it back to using multiselect.  I don&#39;t really understand the grid code involved, but looking at the march 2nd change:</p>
<blockquote>
<pre>-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;cw&#160;=&#160;Math.floor(aw/(ts.p.tblwidth-tw)*this.width);</pre>
<pre>+&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;cw&#160;=&#160;Math.round(aw*this.width/$t.p.tblwidth);</pre>
</blockquote>
<p>I *think* that the -tw in the original line was taking into account the fixed-width column for the checkbox.  Adding the -tw back in seems to fix all my issues.</p>
<p>Thanks,</p>
<p>chris</p>
]]></description>
        	        	<pubDate>Fri, 19 Mar 2010 16:37:24 +0200</pubDate>
        </item>
</channel>
</rss>