<?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: Recall and set column widths</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths</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/recall-and-set-column-widths/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Clement on Recall and set column widths</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12475</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12475</guid>
        	        	<description><![CDATA[<p>I&#39;m still stuck.. really appreciate some help here.. thank you!!</p>
]]></description>
        	        	<pubDate>Thu, 26 Nov 2009 10:30:55 +0200</pubDate>
        </item>
        <item>
        	<title>Clement on Recall and set column widths</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12420</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12420</guid>
        	        	<description><![CDATA[<p>I realized that the columns width are recalled correctly but readjusted due to shrinkToFit = true. Would it be possible to leave the widths as they are, even with horizontal scrollbars if needed.</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 25 Nov 2009 09:51:02 +0200</pubDate>
        </item>
        <item>
        	<title>Clement on Recall and set column widths</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12378</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12378</guid>
        	        	<description><![CDATA[<p>Thanks! I&#39;ll try it out.</p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 21:50:16 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Recall and set column widths</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12346</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12346</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is partially true. You can set the new width of the column using two methods &#8211; setColProp and setGridWidth.</p>
<p>Here is example of setting new width of the column amount:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2906' value='Select Code' data-codeid='sfcode2906' /></p>
<div class='sfcode' id='sfcode2906'>
<p>$(&#8221;#mygrid&#8221;).jqGrid(&#39;setColProp&#39;,&#39;amount&#39;,{width:new_width});</p>
<p>var gw = $(&#8221;#mygrid&#8221;).jqGrid(&#39;getGridParam&#39;,&#39;width&#39;);</p>
<p>$(&#8221;#mygrid&#8221;).jqGrid(&#39;setGridWidth&#39;,gw);</p>
</p>
</div>
<p>Regards</p>
<p>Tony</p>
<p>P.S. Note that in order to work this a shrinkToFit should be true, or you should call setGridWidth with second parameter true</p>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 11:48:18 +0200</pubDate>
        </item>
        <item>
        	<title>Clement on Recall and set column widths</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12315</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/recall-and-set-column-widths#p12315</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Users like the column widths to be reinstated whenever they come back to their page. I read the documentation but setColProp would not have any effect on width.</p>
<blockquote>
<p><span style="color: #0000ff;">As mentioned above the options in colModel can be get or set using the methods getColProp and setColProp. Below are options which can not be changed dynamically when the grid is constructed (If changed they do not have effect or will cause the grid errors). For some of these options there are methods available to change the value. </span></p>
<ul>
<li class="level1">
<div class="li"><span style="color: #0000ff;"> name</span></div>
</li>
<li class="level1">
<div class="li"><span style="color: #0000ff;"> width</span></div>
</li>
<li class="level1">
<div class="li"><span style="color: #0000ff;"> resizable</span></div>
</li>
<li class="level1"> <span style="color: #0000ff;">label (method avail.)</span></li>
</ul>
</blockquote>
<div class="li"></div>
<div class="li">Does this mean that we can only set column width at the time of constructing the colModel? We are using jqgrid 3.6</div>
<div class="li"></div>
<div class="li"></div>
<div class="li">Thanks!</div>
]]></description>
        	        	<pubDate>Mon, 23 Nov 2009 02:54:02 +0200</pubDate>
        </item>
</channel>
</rss>