<?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: Resizing grid width after resizing column width</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/resizing-grid-width-after-resizing-column-width</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/resizing-grid-width-after-resizing-column-width/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>discomarra on Resizing grid width after resizing column width</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/resizing-grid-width-after-resizing-column-width#p28494</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/resizing-grid-width-after-resizing-column-width#p28494</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;ve encountered a problem when trying to resize the grid after I have resized a column. This is my usecase:</p>
<p>1. Drag&#38;drop a column separator to resize the column (i.e. oldWidth=50, newWidth=70)<br />2. resize the grid using</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3443' value='Select Code' data-codeid='sfcode3443' /></p>
<div class='sfcode' id='sfcode3443'>grid.jqGrid(&#34;setGridWidth&#34;, someWidth, true);</div>
<p>now all columns are larger.<br />3. just by clicking on the column separator previously used, the column resizes back to the newWidth</p>
</p>
<p>in the method dragEnd there is a line</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9200' value='Select Code' data-codeid='sfcode9200' /></p>
<div class='sfcode' id='sfcode9200'>nw = this.headers[idx].newWidth &#124;&#124; this.headers[idx].width;</div>
<p>when I d&#38;d a separator, newWidth gets set and this value is never reset during resizing of the grid, so the previous line always takes the newWidth for nw.<br />This also happens with the newWidth on table object itself.</p>
<p>Should those values be reset on setGridWidth? Is there a way around this without modifying the source code?</p>
<p>Thanks,<br />Marko</p>
]]></description>
        	        	<pubDate>Wed, 20 Mar 2013 18:10:42 +0200</pubDate>
        </item>
</channel>
</rss>