<?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: jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg</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/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p18065</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p18065</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>After you make it visible at left side, you can use drag and drop to put it at its original position.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sun, 20 Jun 2010 11:22:29 +0300</pubDate>
        </item>
        <item>
        	<title>Asshiah on jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p17922</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p17922</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I Have a similar problem,</p>
</p>
<p>I use the column chooser in order to allow the user to show/hide/reorder columns.</p>
<p>But the thing is, when the user hides a column using the column chooser, and then uses it again to show the same column, I want this column to get back to its original position.</p>
<p>Presently, the column is put at the end of all the columns shown in the grid.</p>
</p>
<p>I could always use the column chooser&#39;s "done" fonction to reorder the columns as is the colmodel when showing columns (the columns order in this one is not modified when just hiding a few columns), but the user will not be able to reorder columns anymore, only show/hide them.</p>
</p>
<p>In clear, is there a way to use the column chooser in order to show/hide/reorder columns, but being sure that a column that is hiden then shown us put back to its anterior position before being hiden?</p>
</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Tue, 15 Jun 2010 12:10:16 +0300</pubDate>
        </item>
        <item>
        	<title>markw65 on jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12595</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12595</guid>
        	        	<description><![CDATA[<p>Well, yes - buts its rather drastic...</p>
</p>
<p>Now you&#39;re not allowing the user to reorder the columns at all, so you&#39;re just using the column chooser to show/hide columns. You could actually drop the remapColumns call altogether...</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Mon, 30 Nov 2009 17:27:26 +0200</pubDate>
        </item>
        <item>
        	<title>kelny on jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12579</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12579</guid>
        	        	<description><![CDATA[<p>Hello Mark,</p>
</p>
<p>Thank You for Your help.&#160; This solved my problem.<span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;"></p>
<p></span></p>
<p></span></p>
<p><span style="font-size: x-small;"></p>
<p></span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;"></span></span></p>
<p><input type='button' class='sfcodeselect' name='sfselectit1526' value='Select Code' data-codeid='sfcode1526' /></p>
<div class='sfcode' id='sfcode1526'>done : function (perm) {</p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">if (perm) { </span></span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">perm.sort();&#160;/* this solved my problem*/</span></span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">this.jqGrid(&#39;remapColumns&#39;, perm, true);</span></span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">var gwdth = this.jqGrid(&#39;getGridParam&#39;,&#39;width&#39;);</span></span><span style="font-size: x-small;"> </span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">this.jqGrid(&#39;setGridWidth&#39;,gwdth);"</span></span><span style="font-size: x-small;">; </span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">}</span></span></p>
<p><span style="color: #a31515; font-size: x-small;"><span style="color: #a31515; font-size: x-small;">}</span></span></p>
</div></p>
]]></description>
        	        	<pubDate>Mon, 30 Nov 2009 12:58:47 +0200</pubDate>
        </item>
        <item>
        	<title>markw65 on jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12537</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12537</guid>
        	        	<description><![CDATA[<p>You can pass in your own "done" function (in the columnChooser options). The done function is passed the permutation to be applied (or null if the user cancelled the columnChooser).</p>
</p>
<p>The default function is:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7440' value='Select Code' data-codeid='sfcode7440' /></p>
<div class='sfcode' id='sfcode7440'>"done" : function(perm) { if (perm) this.jqGrid("remapColumns", perm, true) }</div>
</p>
<p>You would need to modify the permutation to keep your columns where you want them, before calling remapColumns.</p>
</p>
<p>The permuation array is such that the column that is currently in position permutation[i] will move to position i.</p>
</p>
<p>Mark</p>
]]></description>
        	        	<pubDate>Fri, 27 Nov 2009 12:27:17 +0200</pubDate>
        </item>
        <item>
        	<title>kelny on jqGrid columnChooser - choosen columns are inserted after columns specified as hidedlg</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12522</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-columnchooser-choosen-columns-are-inserted-after-columns-specified-as-hidedlg#p12522</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I have problem with columnChooser. I have some columns, which I don&#180;t want to allow user to select in columnChooser dialog, so I mark them with hidedlg:true.Everything works fine, but choosen columns are inserted after those columns, which didn&#180;t appear in the dialog.Is it possible to leave them at original position (end).</p>
</p>
<p>Thank You Jan</p>
]]></description>
        	        	<pubDate>Fri, 27 Nov 2009 08:05:15 +0200</pubDate>
        </item>
</channel>
</rss>