<?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: Enable/Disable Custom Button on Nav Bar</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar</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/enabledisable-custom-button-on-nav-bar/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p31396</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p31396</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>The buttons have id. You can either show/hide them by condition or add to them a class ui-state-disabled, which disabled the action too. See the Oleg's post <a href="http://www.trirand.com/blog/?page_id=393/help/dynamically-disabling-buttons-of-jqgrid-tool-bar" target="_blank">here</a></p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 19 Nov 2014 16:07:03 +0200</pubDate>
        </item>
        <item>
        	<title>Vignesh on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p31368</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p31368</guid>
        	        	<description><![CDATA[<blockquote>
<p><strong>tony said </strong><br />
Hello,</p>
<p> Currently no, but if you know the id of the button you can easyshow abnd hide them</p>
<p> Regards</p>
<p> Tony</p>
</blockquote>
<p>Hi Tony,Â </p>
<p>Â  Â  I have a requirement like, need to enable and disable the Add, Edit, Delete icons in NavGrid dynamically. I can only set the values while loading, and even if i change the value of edit:false in a button click event its not working. Is there any other way?Â </p>
]]></description>
        	        	<pubDate>Wed, 12 Nov 2014 15:28:41 +0200</pubDate>
        </item>
        <item>
        	<title>prbabu on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6894</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6894</guid>
        	        	<description><![CDATA[<p>Found the id. of the buttons using Firebug - great tool !</p>
<p>&#39;Add &#39; button is "add_list"</p>
<p>&#39;Edit&#39; button is "edit_list"</p>
<p>&#39;Del&#39; button is "del_list"</p>
<p>To hide the buttons one can do this:</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#add_list&#39;).hide();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#edit_list&#39;).hide();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#del_list&#39;).hide();</p>
</p>
<p>-Praveen</p></p>
]]></description>
        	        	<pubDate>Mon, 25 May 2009 20:26:56 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6715</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6715</guid>
        	        	<description><![CDATA[<p>I am using the standard Add/Edit/Delete button with the navigator. What is the id. of these buttons?</p>
<p>-Praveen</p></p>
]]></description>
        	        	<pubDate>Fri, 15 May 2009 03:23:03 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6713</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6713</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Currently no, but if you know the id of the button you can easyshow abnd hide them</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 15 May 2009 02:55:05 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6686</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6686</guid>
        	        	<description><![CDATA[<p>That is wonderful!&#160; I am using 3.4.x. I can move to 3.5. But before that can you please give me a quick code sample of how to enable/disable of navigation buttons in 3.5?&#160; Also, is there any specific documentation for 3.5, I can read through?</p>
<p>Regards,</p>
<p>Praveen</p></p>
]]></description>
        	        	<pubDate>Thu, 14 May 2009 18:47:10 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6663</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6663</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Which version do you refer? Also in 3.5 there is parameter id - where you can add this for the nav button, so you can easy enable and disable. Not available in 3.4.x versions.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 13 May 2009 15:06:59 +0300</pubDate>
        </item>
        <item>
        	<title>prbabu on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6611</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p6611</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Currently no, but it is easy to add this</p>
<p>Suppose the variable&#160; edit_right&#160; holds the edit rights for the user.</p>
<p>Set it during the opening the page and then</p>
<p>&#8230;navGrid(&#8221;mypager&#8221;,add_right, edit_right&#8230;..)</p>
<p>This way the buttons will be created according to the rights.</p>
<p>Regards</p>
<p>Tony</p>
</p>
</blockquote>
<hr />
<p>I would like enable/disable the "Add"/"Edit"/"Delete" button on subsequent grid reloads. How to enable/disable them?</p>
<p>-Praveen</p>
]]></description>
        	        	<pubDate>Mon, 11 May 2009 03:37:12 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5806</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5806</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Not quite gffrent</p>
<p>if(edit_right==true) {</p>
<p>$("#mygrid").navButtonAdd(....)</p>
<p>}</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 03 Apr 2009 02:37:11 +0300</pubDate>
        </item>
        <item>
        	<title>Nathan on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5798</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5798</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>I can see how this could apply to an existing button but how do apply it to a custom button ? I could certainly return a variable, edit_right which is valued as follows</p>
<p>edit_right = "edit:true" or "edit:false"</p>
</p>
<p>But how about for a custom button ?&#160; That&#39;s the portion I am not understanding.</p>
<p>Nathan</p>
]]></description>
        	        	<pubDate>Thu, 02 Apr 2009 21:14:27 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5782</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5782</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Currently no, but it is easy to add this</p>
<p>Suppose the variable&#160; edit_right&#160; holds the edit rights for the user.</p>
<p>Set it during the opening the page and then</p>
<p>...navGrid("mypager",add_right, edit_right.....)</p>
<p>This way the buttons will be created according to the rights.</p>
<p>Regards</p>
<p>Tony</p></p>
]]></description>
        	        	<pubDate>Thu, 02 Apr 2009 11:14:56 +0300</pubDate>
        </item>
        <item>
        	<title>Nathan on Enable/Disable Custom Button on Nav Bar</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5770</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/enabledisable-custom-button-on-nav-bar#p5770</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>Just looking through the documentation and I can&#39;t seem to find a property that allows a custom button to be set to disabled.</p>
<p>Ie The button is there but does not do anything for certain users, but is active for others.</p>
<p>I&#39;ve created a work around by outputing the entire generation of the button code with PEAR in the case of users that have access. &#160;Users that don&#39;t have access don&#39;t even see the button.</p>
<p>What I would prefer to do is have option ie enabled:true/false and set dynamically based on user permissions.</p>
<p>Does this functionality exist ?</p>
<p>Nathan</p>
]]></description>
        	        	<pubDate>Thu, 02 Apr 2009 10:34:56 +0300</pubDate>
        </item>
</channel>
</rss>