<?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: how to remove them</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them</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-how-to-remove-them/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on custom buttons: how to remove them</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12831</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12831</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Any usefull addition into the documentation is welcome.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 08 Dec 2009 18:32:39 +0200</pubDate>
        </item>
        <item>
        	<title>stefan.livens on custom buttons: how to remove them</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12811</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12811</guid>
        	        	<description><![CDATA[<p>Thanks Tony.</p>
<p>I must admit, I overlooked this optional id you can set when creating these buttons.</p>
</p>
<p>(just for future reference, like this:</p>
<p>.jqGrid("navButtonAdd","#tree_pager",{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onClickButton:switchTree,caption:"Show Full Tree" <strong>,id:"tree_button"</strong><br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });</p>
</p>
<p>Maybe we can add it in the "discussion" section of that wiki page?</p>
<p>Thanks again.</p>
]]></description>
        	        	<pubDate>Tue, 08 Dec 2009 11:05:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on custom buttons: how to remove them</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12774</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12774</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>When created this way every button has a uniquie id (or you can give them one).</p>
<p>If know this Id it is easy to manipulate.</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:custom_buttons" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....om_buttons</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 05 Dec 2009 15:44:19 +0200</pubDate>
        </item>
        <item>
        	<title>stefan.livens on custom buttons: how to remove them</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12751</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-buttons-how-to-remove-them#p12751</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>First, thank you for this wonderfull component.</p>
</p>
<p>Now I have a question: How do I remove custom buttons from the navigator (the pager)?</p>
<p>I add them like this:</p>
<p><code> $("#org_tree").jqGrid({<br />&#160;&#160;&#160; ...<br />})<br />.jqGrid("navGrid","#tree_pager",{edit:false,add:false,del:false,search:false,refresh:false})<br />.jqGrid("navButtonAdd","#tree_pager",{<br />&#160;&#160;&#160; &#160;&#160;&#160; onClickButton:switchTree,caption:"Show Full Tree"<br />&#160;&#160;&#160; }<br />);</code></p>
<p>Now this is my function switchTree:</p>
<p><code>function switchTree(){<br />&#160;&#160;&#160; $("#org_tree")<br />&#160;&#160;&#160; &#160;&#160;&#160; .setGridParam({url:"../dev/org1.json",page:1})<br />&#160;&#160;&#160; &#160;&#160;&#160; .trigger("reloadGrid")<br />&#160;&#160;&#160; &#160;&#160;&#160; .jqGrid("navButtonAdd","#tree_pager",{<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; onClickButton:switchTree2,caption:"Show My Tree"<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; });<br />}</code></p>
<p>This function adds the button, so I have 2 buttons , now how can I replace the button "show full tree" with the button "show my tree"?</p>
</p>
<p>thanks in advance.</p>
]]></description>
        	        	<pubDate>Fri, 04 Dec 2009 16:34:05 +0200</pubDate>
        </item>
</channel>
</rss>