<?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: How to call "done" function in Column Chooser</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-call-done-function-in-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/help/how-to-call-done-function-in-column-chooser/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>wyscan on How to call "done" function in Column Chooser</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-call-done-function-in-column-chooser#p26843</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-call-done-function-in-column-chooser#p26843</guid>
        	        	<description><![CDATA[<p>I&#39;m not sure if this helps but here&#39;s what I did in order to rename and restyle the default buttons in the column chooser dialog:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit728' value='Select Code' data-codeid='sfcode728' /></p>
<div class='sfcode' id='sfcode728'>&#160;&#160;&#160; $.extend(true, $.jgrid.col, {<br />&#160;&#160; &#160;&#160;&#160;&#160; &#34;dlog_opts&#34; : function(opts) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var buttons = {};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;buttons[opts.bCancel] = {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;text : &#39;Cancel&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;class&#39; : &#39;alternate-color&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;click : function(e) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;opts.cleanup(true);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;buttons[opts.bSubmit] = {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;text : &#34;Confirm&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#39;class&#39; : &#39;submit default&#39;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;click : function(e) {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;opts.apply_perm();<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;opts.cleanup(false);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;};<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;return $.extend(true, {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#34;dialogClass&#34; : &#34;dialog-form&#34;,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#34;buttons&#34; : buttons,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#34;close&#34; : function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;opts.cleanup(true);<br />&#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;&#34;modal&#34; : opts.modal ? opts.modal : false,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#34;resizable&#34; : opts.resizable ? opts.resizable : true,<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#34;width&#34; : opts.width + 20<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}, opts.dialog_opts &#124;&#124; {});<br />&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;});</div>
]]></description>
        	        	<pubDate>Sat, 23 Jun 2012 21:22:23 +0300</pubDate>
        </item>
        <item>
        	<title>joshbodine on How to call "done" function in Column Chooser</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-call-done-function-in-column-chooser#p26420</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-call-done-function-in-column-chooser#p26420</guid>
        	        	<description><![CDATA[<p>I have called the columnChooser and have provided my own options for "dialog_opts". Among the options I have provided my own dialog buttons which overwrite the "Ok" and "Cancel" buttons. Since the "Ok" button is what calls the "done" function which is what calls the "remapColumns," how do I call the "done" function within the click event of my own button?</p>
]]></description>
        	        	<pubDate>Fri, 20 Apr 2012 07:25:37 +0300</pubDate>
        </item>
</channel>
</rss>