<?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: Fixed column resize + Show/hide column</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column</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/fixed-column-resize-showhide-column/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Fixed column resize + Show/hide column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29954</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29954</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Glad to hear this.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 10 Dec 2013 12:40:19 +0200</pubDate>
        </item>
        <item>
        	<title>rGros on Fixed column resize + Show/hide column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29950</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29950</guid>
        	        	<description><![CDATA[<p>I am a bit busy now with my project.</p>
<p>As soon as I can I post a sample to reproduce it.</p>
</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Tue, 10 Dec 2013 11:41:44 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Fixed column resize + Show/hide column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29921</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29921</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Can you please provide a simpletest scenario for this problem?</p>
<p>I&#39;m unable to reproduce this.</p>
<p>Thank you.</p>
</p>
<p>Kind Regards</p>
]]></description>
        	        	<pubDate>Wed, 04 Dec 2013 12:32:22 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Fixed column resize + Show/hide column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29908</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29908</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Will check this</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Mon, 02 Dec 2013 15:08:05 +0200</pubDate>
        </item>
        <item>
        	<title>rGros on Fixed column resize + Show/hide column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29903</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/fixed-column-resize-showhide-column#p29903</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>In my project I encounter a strange behaviour (bug ?) when mixing resizement of a fixed (fixed:true in colModel) column and show hide column feature.</p>
<p>Here is the case. I have a jqgrid that takes 100% of its container. My grid contains several columns and one of them is fixed but can be resizable. The grid has also shrinkToFit paramter to true.</p>
<p>If I resize this fixed column and then try to hide/show other colums, the size of the grid is expanded and overlap its container. An horizontal scrollBar appears on the grid.</p>
<p>I had a look&#160; in jqgrid code and there might be an error in <strong>"setGridWidth" (line 3435&#160; to 3443) </strong>method when it calculates the width of fixed columns visible in the table. For now it always takes the original width (widthOrg) of a column and if this columns is fixed it adds it to the <em>gw</em>. If the fixed column was rezise the widthOrg paramter might not be the good one to use.</p>
<p>For now code is</p>
</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.each($t.p.colModel, function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if(this.hidden===false){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;cw = this.widthOrg;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;initwidth += cw+brd;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if(this.fixed) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;gw += cw+brd;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;vc++;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});</p>
</p>
<p>In my opinion it should be</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.each($t.p.colModel, function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if(this.hidden===false){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;if(this.fixed) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;cw = this.width;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;gw += cw+brd;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;cw = this.widthOrg;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;vc++;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;initwidth += cw+brd;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;});</p>
</p>
<p>Maybe I am wrong. Can you confirm it to me ?</p>
</p>
<p>thanks</p>
]]></description>
        	        	<pubDate>Fri, 29 Nov 2013 09:44:39 +0200</pubDate>
        </item>
</channel>
</rss>