<?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: Column Chooser doesn't work</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work</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/column-chooser-doesnt-work/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15646</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15646</guid>
        	        	<description><![CDATA[<p><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face 	{font-family:"MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4;} @font-face 	{font-family:"MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4;} @font-face 	{font-family:"@MS Mincho"; 	panose-1:2 2 6 9 4 2 5 8 3 4;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	line-height:115%; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif";} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline;} p 	{margin-right:0cm; 	margin-left:0cm; 	font-size:12.0pt; 	font-family:"Times New Roman","serif";} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:36.0pt; 	line-height:115%; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif";} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{margin-top:0cm; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:36.0pt; 	margin-bottom:.0001pt; 	line-height:115%; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif";} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{margin-top:0cm; 	margin-right:0cm; 	margin-bottom:0cm; 	margin-left:36.0pt; 	margin-bottom:.0001pt; 	line-height:115%; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif";} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:36.0pt; 	line-height:115%; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif";} .MsoChpDefault 	{font-family:"Calibri","sans-serif";} .MsoPapDefault 	{margin-bottom:10.0pt; 	line-height:115%;} @page WordSection1 	{size:595.3pt 841.9pt; 	margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 	{page:WordSection1;}  /* List Definitions */  ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --></p>
<div class="WordSection1">
<p class="MsoNormal" style="line-height:normal">Hallo <strong>dorian53</strong><strong>!</strong></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">To make columnChooser working with jQuery UI 1.8 you have to do 2 things:</span></p>
<ol type="1">
<li class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:" lang="EN-US">initialize      options of ui.multiselect, because $.ui.multiselect.defaults will be read      from jQuery UI 1.7, but not from jQuery UI 1.8</span></li>
<li class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:" lang="EN-US">change <em>destroy</em> function of ui.multiselect corresponds new jQuery UI 1.8 requirements</span></li>
</ol>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">In initialize options of ui.multiselect you can do <strong>ONE</strong> from the following</span></p>
<ul type="disc">
<li class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:" lang="EN-US">add      {"msel_opts": $.ui.multiselect.defaults} parameter of      columnChooser. With this way you don&#39;t change defaults of ui.multiselect,      but give all options which one needs directly in the columnChooser call.</span></li>
<li class="MsoNormal" style="line-height:normal"><span style="font-size:12.0pt;font-family:" lang="EN-US">add <em>options</em> inside of "ui.multiselect".</span></li>
</ul>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">To change <em>destroy</em> function of ui.multiselect or to add <em>options</em> inside of "ui.multiselect" you can use <strong>ONE</strong> from the following technics:</span></p>
<p class="MsoNormal" style="line-height:normal"><span style="text-decoration: underline;"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">First technic:</span></span></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">modify ui.multiselect.js by inserting block with <em>options</em> definition (marked bold below):</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt;font-family:">$.widget(<span style="color: #a31515;">"ui.multiselect"</span>, {</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160; options: {</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortable: <span style="color:blue">true</span>,</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; searchable: <span style="color:blue">true</span>,</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; animated: <span style="color:#A31515">&#39;fast&#39;</span>,</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; show: <span style="color:#A31515">&#39;slideDown&#39;</span>,</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; hide: <span style="color:#A31515">&#39;slideUp&#39;</span>,</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; dividerLocation: 0.6,</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160; nodeComparator: <span style="color:blue">function</span>(node1, node2) {</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">var</span> text1 = node1.text(),</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt;font-family:">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; text2 = node2.text();</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">return</span> text1 == text2 ? 0 : (text1 &#60; text2 ? -1 : 1);</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160; },</span></strong></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 10pt; font-family: &#34;Courier New&#34;;" lang="EN-US">&#160;&#160;&#160; _init: <span style="color: blue;">function</span>() {</span><span style="font-size: 12.0pt;font-family:" lang="EN-US"> </span></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">And modify destroy function to the following:</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt; font-family:" lang="EN-US">destroy: <span style="color:blue">function</span>() {</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160; <span style="color:blue">this</span>.element.show();</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160; <span style="color:blue">this</span>.container.remove();</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160; <span style="color:blue">if</span> ($.Widget === undefined)</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.widget.prototype.destroy.apply(<span style="color: blue;">this</span>, arguments);</span></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160; <span style="color:blue">else</span> {</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160;&#160;&#160;&#160;&#160; $.Widget.prototype.destroy.apply(<span style="color: blue;">this</span>, arguments);</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color:blue">return</span> <span style="color: blue;">this</span>;</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><strong><span style="font-size:10.0pt; font-family:" lang="EN-US">&#160;&#160;&#160; }</span></strong></p>
<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height: normal;text-autospace:none"><span style="font-size:10.0pt; font-family:" lang="EN-US">},</span></p>
<p class="MsoNormal" style="line-height:normal"><span style="font-size: 12pt; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US">After such modifications ui.multiselect will be works both with jQuery UI 1.7 and jQuery UI 1.8 and you can use last version of jqGrid.</span></p>
<p class="MsoNormal"><span style="text-decoration: underline;"><span style="font-size:12.0pt;line-height: 115%;font-family:" lang="EN-US">Second technic</span></span><span style="font-size: 12pt; line-height: 115%; font-family: &#34;Times New Roman&#34;,&#34;serif&#34;;" lang="EN-US"> to change <em>destroy</em> function of ui.multiselect or to add <em>options</em> inside of "ui.multiselect" is following: you needs <strong>not modify any code of ui.multiselect.js</strong>, but override &#8220;ui.multiselect&#8221; class (overwrite $.ui.multiselect.prototype) &#160;<strong>inside of grid.jqueryui.js</strong>. How to do this read suggestion of Tony in /blog/?page_id=393/bugs/small-bug-in-grid-jqueryui-js-and-ui-multiselect-js/. </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;line-height:115%; font-family:" lang="EN-US">Best regards<br /> Oleg</span></p>
</div>
]]></description>
        	        	<pubDate>Fri, 12 Mar 2010 15:58:13 +0200</pubDate>
        </item>
        <item>
        	<title>dorian53 on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15641</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15641</guid>
        	        	<description><![CDATA[<p>I use jQuery(&#39;#tab&#39;).jqGrid(&#39;columnChooser&#39;, {"msel_opts": $.ui.multiselect.defaults});</p>
<p>And i replaced destroyed in ui.multiselect like in last OlegK answer.</p>
<p>It&#39;s OK even if the modal inputs  buttons are very bigs.</p>
<p>In short :</p>
<p>1. use jQuery(&#39;#tab&#39;).jqGrid(&#39;columnChooser&#39;, {"msel_opts":  $.ui.multiselect.defaults});</p>
<p>2. change destroy ui.multiselect</p>
<p>3. change code grid.jquery.ui as in my answer 5</p>
</p>
<p>I&#39;ve forgotten  anything ?</p>
]]></description>
        	        	<pubDate>Fri, 12 Mar 2010 11:11:01 +0200</pubDate>
        </item>
        <item>
        	<title>dorian53 on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15640</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15640</guid>
        	        	<description><![CDATA[<p>Thanks a lot.</p>
</p>
<p>jQuery("#list").columnChooser(); is a mistake when i copied my source code in this reply.</p>
</p>
<p>I don&#39;t understand this topic <a href="http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-grid-jqueryui-js-and-ui-multiselect-js/" rel="nofollow" target="_blank"><a href="http://www.trirand.com/blog/?p" rel="nofollow">http://www.trirand.com/blog/?p</a>.....select-js/</a></p>
<p>There are, how many steps ?</p>
<p>I &#39;ve just followed the last tony answer.</p>
<p>in grid.jquery.ui, I&#39;ve replaced</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7635' value='Select Code' data-codeid='sfcode7635' /></p>
<div class='sfcode' id='sfcode7635'>
<p>if ($.ui &#38;&#38; $.ui.multiselect &#38;&#38;  $.ui.multiselect.prototype._setSelected) {<br />&#160;&#160;&#160; var setSelected =  $.ui.multiselect.prototype._setSelected;<br />&#160;&#160;&#160;  $.ui.multiselect.prototype._setSelected = function(item,selected) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  var ret = setSelected.call(this,item,selected);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (selected  &#38;&#38; this.selectedList) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var elt = this.element;<br />&#160;&#160;  &#160;&#160;&#160; &#160;&#160;&#160;&#160; this.selectedList.find(&#39;li&#39;).each(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;  &#160;&#160;&#160;&#160; if ($(this).data(&#39;optionLink&#39;))<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;  $(this).data(&#39;optionLink&#39;).remove().appendTo(elt);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return ret;<br />&#160;&#160;&#160; }<br />}</p>
</div>
<p>By</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5568' value='Select Code' data-codeid='sfcode5568' /></p>
<div class='sfcode' id='sfcode5568'>
<p>if ($.ui &#38;&#38; $.ui.multiselect) {</p>
<p>if($.ui.multiselect.prototype._setSelected) {<br />&#160;&#160;&#160; var setSelected =  $.ui.multiselect.prototype._setSelected;<br />&#160;&#160;&#160;  $.ui.multiselect.prototype._setSelected = function(item,selected) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  var ret = setSelected.call(this,item,selected);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (selected  &#38;&#38; this.selectedList) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var elt = this.element;<br />&#160;&#160;  &#160;&#160;&#160; &#160;&#160;&#160;&#160; this.selectedList.find(&#39;li&#39;).each(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;  &#160;&#160;&#160;&#160; if ($(this).data(&#39;optionLink&#39;))<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;  $(this).data(&#39;optionLink&#39;).remove().appendTo(elt);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;  }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; return ret;<br />&#160;&#160;&#160; }</p>
<p>}</p>
<p>if($.ui.multiselect.prototype.destroy) {</p>
<p>// your code here</p>
<p>}<br />}</p>
</div>
<p>Do I  do something else ?</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Fri, 12 Mar 2010 10:57:01 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15626</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15626</guid>
        	        	<description><![CDATA[<p>You are right Tony! I didn&#39;t read the code carfully enough. Neverthless the problem with jQuery UI 1.8 and Multiselect widget stay. At least in IE the columnChooser don&#39;t work at all with jQuery UI 1.8. One sees only an almost empty window. So either ui.multiselect.js or grid.jquery.ui.js should be changed early or later. In my version I changed ui.multiselect.js to be able quickly update jqGrid loaded directly from GitHub, so I almost forget about the problem.</p>
</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Thu, 11 Mar 2010 17:35:04 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15609</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15609</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank Oleg, but IMHO the problem is "trivial"</p>
</p>
<p>Also</p>
<p>Replace this code:</p>
<p>jQuery("#list").columnChooser();</p>
<p>with this</p>
<p>jQuery("#tab").columnChooser();</p>
</p>
<p>and you will be happy</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 11 Mar 2010 14:51:00 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15588</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15588</guid>
        	        	<description><![CDATA[<p>Hello dorian53!</p>
<p>Bonjour!</p>
</p>
<p>You use jqGrid together with jQuery UI 1.8 (RC3), but Multiselect widget (jQuery UI plugin) is not compatible with jQuery UI 1.8 und must be a little modified. One have to modify/overwrite "destroy" function from ui.multiselect.js and set default option of multiselect with a little another way (corresponds to new jQuery UI 1.8 standards). In</p>
<p>/blog/?page_id=393/bugs/small-bug-in-grid-jqueryui-js-and-ui-multiselect-js/ you&#39;ll find two ways to do this.</p>
<p>If you at least modify your code from</p>
<p>&#160;&#160;&#160; jQuery("#list").columnChooser();</p>
<p>to</p>
<p>&#160;&#160;&#160; jQuery(&#39;#list&#39;).jqGrid(&#39;columnChooser&#39;, {"msel_opts": $.ui.multiselect.defaults}});</p>
<p>your code starts working, but to works more clear you have to modify "destroy". If you makes small modifications of grid.jquery.ui.js or ui.multiselect.js, you can use an old short form of columnChooser usage.</p>
</p>
<p>Tony, jQuery UI 1.8 is really actual for a lot of persons used jqGrid. Could you please either modify ui.multiselect.js distributed together with jqGrid or modify grid.jquery.ui.js to solve known problems with using jQuery UI 1.8. It seems to me you torget to do this.</p>
</p>
<p>Best regards,</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Wed, 10 Mar 2010 22:26:39 +0200</pubDate>
        </item>
        <item>
        	<title>dorian53 on Column Chooser doesn't work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15582</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/column-chooser-doesnt-work#p15582</guid>
        	        	<description><![CDATA[</p>
<p>Hello,</p>
<p>(i&#39;m french, excuse me for my english)</p>
<p>Column Chooser plugin doesn&#39;t work.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6958' value='Select Code' data-codeid='sfcode6958' /></p>
<div class='sfcode' id='sfcode6958'>
<p>&#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Strict//EN&#34; &#34;<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&#34;&#038;gt" rel="nofollow" target="_blank"><a href="http://www.w3.org/TR/xhtml1/DT" rel="nofollow">http://www.w3.org/TR/xhtml1/DT</a>.....t;&#038;gt</a>;<br />&#60;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml&#34;&#038;gt" rel="nofollow" target="_blank"><a href="http://www.w3.org/1999/xhtml&#038;q" rel="nofollow">http://www.w3.org/1999/xhtml&#038;q</a>.....t;&#038;gt</a>;<br />&#60;head&#62;<br />&#160;&#160;&#160; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=UTF-8&#34; /&#62;<br />&#160;&#160;&#160; &#60;title&#62;Exemple&#60;/title&#62;<br />&#160;&#160;&#160; &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;screen&#34; href=&#34;_css/redmond/jquery-ui-1.8rc3.custom.css&#34; /&#62;<br />&#160;&#160;&#160; &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;screen&#34; href=&#34;_css/ui.jqgrid.css&#34; /&#62;<br />&#160;&#160;&#160; &#60;link rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;screen&#34; href=&#34;_css/ui.multiselect.css&#34; /&#62;<br />&#160;&#160; &#160;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/jquery-1.4.2.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/jquery-ui-1.8rc3.custom.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/grid.locale-fr.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/grid.jqueryui.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/ui.multiselect.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/jquery.jqGrid.min.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#160;&#160;&#160; &#60;script src=&#34;_js/main.js&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;</p>
<p>&#160;&#160;&#160; &#60;table id=&#34;tab&#34;&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#60;div id=&#34;pager&#34;&#62;&#60;/div&#62;</p>
<p>&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
<p>main.js</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5612' value='Select Code' data-codeid='sfcode5612' /></p>
<div class='sfcode' id='sfcode5612'>jQuery(document).ready(function(){<br />&#160; jQuery(&#34;#tab&#34;).jqGrid({<br />&#160;&#160;&#160; url:&#39;example.php&#39;,<br />&#160;&#160;&#160; datatype: &#39;xml&#39;,<br />&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160; colNames:[&#39;Inv No&#39;,&#39;Date&#39;, &#39;Amount&#39;,&#39;Tax&#39;,&#39;Total&#39;],<br />&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;invid&#39;, index:&#39;invid&#39;, sortable: true},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;invdate&#39;, index:&#39;invdate&#39;, sortable: true},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;amount&#39;, index:&#39;amount&#39;, align:&#39;right&#39;},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;tax&#39;, index:&#39;tax&#39;, align:&#39;right&#39;},<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;note&#39;, index:&#39;note&#39;, sortable:false},<br />&#160;&#160;&#160; ],<br />&#160;&#160;&#160; pager: &#39;#pager&#39;,<br />&#160;&#160;&#160; rowNum:500,<br />&#160;&#160;&#160; sortname: &#39;invid&#39;,<br />&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160;&#160; viewrecords: true,</p>
<p>&#160;&#160;&#160; caption: &#39;Reporting&#39;,<br />&#160;&#160;&#160; altRows: true,<br />&#160;&#160;&#160; loadui: &#39;block&#39;<br />&#160; });<br />&#160; jQuery(&#34;#tab&#34;).jqGrid(&#39;navGrid&#39;,&#39;#pager&#39;,{add:false,edit:false,del:false,search:false,refresh:false});<br />&#160;&#160;&#160; jQuery(&#34;#tab&#34;).jqGrid(&#39;navButtonAdd&#39;,&#39;#pager&#39;,{<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#34;Colonnes&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; title: &#34;Organiser les colonnes&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; onClickButton : function (){<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert(&#39;ok&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#34;#list&#34;).columnChooser();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return false;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; }<br />&#160;&#160;&#160; });<br />});</p>
</div>
<p>I juste have the &#39;OK&#39; alert.</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 10 Mar 2010 17:50:33 +0200</pubDate>
        </item>
</channel>
</rss>