<?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: Problems with hidden columns in Column Chooser plugin</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin</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/problems-with-hidden-columns-in-column-chooser-plugin/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>beden on Problems with hidden columns in Column Chooser plugin</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin#p15573</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin#p15573</guid>
        	        	<description><![CDATA[<p>Thanks Tony,</p>
<p>you&#39;ve saved my day!</p>
</p>
<p>BTW: You are doing really great work.&#160;jqGrid rocks!</p>
</p>
<p>Regards,</p>
<p>Benjamin</p>
]]></description>
        	        	<pubDate>Wed, 10 Mar 2010 09:11:33 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Problems with hidden columns in Column Chooser plugin</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin#p15544</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin#p15544</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you. The bug is already fixed:</p>
<p><a href="http://github.com/tonytomov/jqGrid/commit/19a10833262113f754bed24495625cfb6af1f385" rel="nofollow" target="_blank"><a href="http://github.com/tonytomov/jq" rel="nofollow">http://github.com/tonytomov/jq</a>.....fb6af1f385</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 09 Mar 2010 20:08:14 +0200</pubDate>
        </item>
        <item>
        	<title>beden on Problems with hidden columns in Column Chooser plugin</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin#p15461</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problems-with-hidden-columns-in-column-chooser-plugin#p15461</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>I have a problem with hidden columns while using Column Chooser plugin. Everything works fine until there is an hidden column that is not the last column. (The example at <a href="http://www.trirand.com/blog/jqgrid/jqgrid.html" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/jq" rel="nofollow">http://www.trirand.com/blog/jq</a>.....qgrid.html</a> works fine, because the hidden column is at the end.)</p>
<p>In my case the hidden columns are spread all over the grid.</p>
<p>This bug only occurs in IE 7 + 8, not in Firefox 3+.</p>
<p>Here&#39;s my code:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8755' value='Select Code' data-codeid='sfcode8755' /></p>
<div class='sfcode' id='sfcode8755'>jQuery(&#34;#colch&#34;).jqGrid({<br />&#160;&#160; &#160;&#160;&#160; &#160;datatype: &#34;local&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Client&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;,&#39;Notes&#39;],<br />&#160;&#160; &#160;&#160;&#160; &#160;colModel:[<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;id&#39;,index:&#39;id&#39;, width:55},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;invdate&#39;,index:&#39;invdate&#39;, width:90, hidden:true},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;name&#39;,index:&#39;name asc, invdate&#39;, width:100},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;amount&#39;,index:&#39;amount&#39;, width:80, align:&#34;right&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;tax&#39;,index:&#39;tax&#39;, width:80, align:&#34;right&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;total&#39;,index:&#39;total&#39;, width:80,align:&#34;right&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{name:&#39;note&#39;,index:&#39;note&#39;, width:150, sortable:false, hidden:true}<br />&#160;&#160; &#160;&#160;&#160; &#160;],<br />&#160;&#160; &#160;&#160;&#160; &#160;rowNum:10,<br />&#160;&#160; &#160;&#160;&#160; &#160;width:700,<br />&#160;&#160; &#160;&#160;&#160; &#160;rowList:[10,20,30],<br />&#160;&#160; &#160;&#160;&#160; &#160;pager: &#39;#pcolch&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;sortname: &#39;invdate&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;shrinkToFit :false,<br />&#160;&#160; &#160;&#160;&#160; &#160;viewrecords: true,<br />&#160;&#160; &#160;&#160;&#160; &#160;sortorder: &#34;desc&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;caption:&#34;Column Chooser Example&#34;<br />});<br />jQuery(&#34;#colch&#34;).jqGrid(&#39;navGrid&#39;,&#39;#pcolch&#39;,{add:false,edit:false,del:false,search:false,refresh:false});<br />jQuery(&#34;#colch&#34;).jqGrid(&#39;navButtonAdd&#39;,&#39;#pcolch&#39;,{ caption: &#34;Columns&#34;, title: &#34;Reorder Columns&#34;, onClickButton : function (){<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;jQuery(&#34;#colch&#34;).jqGrid(&#39;columnChooser&#39;);<br />} });</p>
<p>var mydata = [<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;12345&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Desktop Computer&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;, note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;23456&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Laptop&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;34567&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;LCD Monitor&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;45678&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Speakers&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;56789&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Laser Printer&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;67890&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Play Station&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;, total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;76543&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Mobile Telephone&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;87654&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Server&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;,total:&#34;5&#34;,note:&#34;2007-12-03&#34;},<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;{id:&#34;98765&#34;,invdate:&#34;2007-12-03&#34;,name:&#34;Matrix Printer&#34;,amount:&#34;3&#34;,tax:&#34;2&#34;, total:&#34;5&#34;,note:&#34;2007-12-03&#34;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;];<br />for(var i=0;i&#60;=mydata.length;i++)<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#34;#colch&#34;).addRowData(i+1,mydata[i]);</p>
</div>
<p>Try to reorder the visible columns in the Column Chooser dialog. You will see, that it&#39;s not working and some columns get lost during the attemp (and some are dublicated).</p>
<p>I&#39;m using jqGrid 3.6.4, jquery 1.3.2, jquery ui 1.7.2 and the newest version of the multiselect plugin.</p>
<p>Am I missing something or is it really a bug?</p>
</p>
<p>Regards,</p>
<p>Benjamin</p>
]]></description>
        	        	<pubDate>Mon, 08 Mar 2010 15:25:11 +0200</pubDate>
        </item>
</channel>
</rss>