<?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: Preserve width after Column Chooser</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/preserve-width-after-column-chooser</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/feature-request/preserve-width-after-column-chooser/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>bpcm on Preserve width after Column Chooser</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/preserve-width-after-column-chooser#p25723</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/preserve-width-after-column-chooser#p25723</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>After a Colum Chooser event the width of the grid shrinks to the sum of the remaning columns.</p>
<p>If the grid&#39;s width is choosen (either by width:aNumber or autowidth:true), I believe there should be an option to preserve the width after a user removes a column.</p>
<p>This is what I am using:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3834' value='Select Code' data-codeid='sfcode3834' /></p>
<div class='sfcode' id='sfcode3834'>.jqGrid(&#39;navButtonAdd&#39;, &#39;#pager&#39;, { caption:&#34;&#34;, buttonicon:&#34;ui-icon-calculator&#34;, title:&#34;Choose Columns&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; onClickButton:function () {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var a = grid.width();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; grid.jqGrid(&#39;columnChooser&#39;, {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; done:function (perm) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (perm) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; grid.setGridWidth(a);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#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;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#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; }})</div>
</p>
<p>The columns stretch to fit the width, but the overall layout of the webpage is preserved.</p>
<p>Thanks,</p>
<p>bpcm</p></p>
]]></description>
        	        	<pubDate>Wed, 18 Jan 2012 22:30:45 +0200</pubDate>
        </item>
</channel>
</rss>