<?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: custom buttons not cloned to top</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top</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/custom-buttons-not-cloned-to-top/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jckdnk111 on custom buttons not cloned to top</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top#p19820</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top#p19820</guid>
        	        	<description><![CDATA[<p>Thanks for your help Oleg. It isn&#39;t quite what I was looking for, but it helped me discover a way to get it done.</p>
<p>I&#39;m sure this isn&#39;t the best method, but it works for me - hopefully it helps someone else:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit153' value='Select Code' data-codeid='sfcode153' /></p>
<div class='sfcode' id='sfcode153'>// build column re-order button<br />$(&#39;#pmt-list&#39;).jqGrid(&#39;navButtonAdd&#39;, &#39;#pmt-pager&#39;, { &#160;<br />&#160;&#160;&#160; caption: &#39;Columns&#39;, <br />&#160;&#160;&#160; title: &#39;Reorder Columns&#39;, <br />&#160;&#160;&#160; onClickButton: remapCols &#160;<br />}); <br />// clone column re-order button to top pager<br />$(&#34;#pmt-list_toppager_left table:first tbody:first tr:last&#34;).append(<br />&#160;&#160;&#160; $(&#39;#pmt-pager_left table:first tbody:first tr:last td[title=&#34;Reorder Columns&#34;]&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .clone()<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .css(&#39;cursor&#39;, &#39;pointer&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .click(remapCols)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .mouseover(function(){$(this).attr(&#39;class&#39;, &#39;ui-pg-button ui-corner-all ui-state-hover&#39;);})<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .mouseout(function(){$(this).attr(&#39;class&#39;, &#39;ui-pg-button ui-corner-all&#39;);})<br />);</div></p>
]]></description>
        	        	<pubDate>Thu, 16 Sep 2010 21:52:58 +0300</pubDate>
        </item>
        <item>
        	<title>OlegK on custom buttons not cloned to top</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top#p19816</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top#p19816</guid>
        	        	<description><![CDATA[<p>Hello!</p>
<p>Look at my <a href="http://stackoverflow.com/questions/3552855/add-toolbar-in-the-bottom-of-the-header-using-jqgrid/3557663#3557663" target="_blank">answer</a> on the stwckoverflow.com. Is it not what you need? In the answer I show how to have different buttons on top and bottom toolbar.</p>
<p>Best regards<br />Oleg</p>
]]></description>
        	        	<pubDate>Thu, 16 Sep 2010 19:58:30 +0300</pubDate>
        </item>
        <item>
        	<title>jckdnk111 on custom buttons not cloned to top</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top#p19814</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-not-cloned-to-top#p19814</guid>
        	        	<description><![CDATA[<p>I have set "toppager: true" in my base options and "cloneToTop: true" inmy "navGrid" options.</p>
<p>Everything works fine except my custom buttons do not get added to the top pager.</p>
</p>
<p>I&#39;m using jqGrid 3.7.</p>
</p>
<p>Any advice would be appreciated.</p>
]]></description>
        	        	<pubDate>Thu, 16 Sep 2010 19:40:57 +0300</pubDate>
        </item>
</channel>
</rss>