<?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: Show/Hide dialog displays when clicking  other buttons on footer</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer</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/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Show/Hide dialog displays when clicking  other buttons on footer</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer#p2676</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer#p2676</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thank you for this - I think something similar, but your</p>
<p>recommendation is of course better.</p>
<p>(I need to identify these buttons too).</p>
<p>I will add a option for class for every custom button so that</p>
<p>we can easy identify it.</p>
<p>Thank you</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 25 Oct 2008 06:15:17 +0300</pubDate>
        </item>
        <item>
        	<title>Renso on Show/Hide dialog displays when clicking  other buttons on footer</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer#p2654</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer#p2654</guid>
        	        	<description><![CDATA[<p>Found my issue, the loadComplete function where the click event is set for the column set button is not unique:</p>
<p><strong><span style="color: #ff0000;">$(item+&#39;Pager .tbutton&#39;).click(function (){$(item).setColumns(); });&#160;&#160;&#160;&#160; </span></strong></p>
<p>It targets all buttons (i.e. tbutton). Simply need to use a more unique selector:</p>
<p><strong><span style="color: #ff0000;">$(item+&#39;Pager td.nav-button[title="Select Columns"] .tbutton&#39;).click(function (){$(item).setColumns(); });&#160;&#160;&#160;&#160; </span></strong></p>
<p>Can you add a way to add a class name (addClass) somehow to the navButtonAdd options, or is there a way for me to extend it so I can maybe added my own class name so it is easier to identify?</p>
]]></description>
        	        	<pubDate>Wed, 22 Oct 2008 15:08:01 +0300</pubDate>
        </item>
        <item>
        	<title>Renso on Show/Hide dialog displays when clicking  other buttons on footer</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer#p2652</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/showhide-dialog-displays-when-clicking-other-buttons-on-footer#p2652</guid>
        	        	<description><![CDATA[<p>Once again a great job with the new 3.3 features! The issue I have is that I used navButtonAdd to add my add/hide culmns button that performs setColumns on cliick. But when the user clicks any of the other buttons, like edit a row, delete a row, the modal dialog for that comes up as well as the Show/Hide dialog for selecting which columns to display/hide. It also happens if I click on for example the edit button and have no row selected, in this case both dialogs also ppear, the one for selecting columns as well as the dialog that informs the user to select a row first. I am not sure if this is a bug. Seee my code exmaples below:</p>
<p>setting jqGrid:</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; loadComplete: function()&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;<strong><span style="color: #ff0000;">&#160; $(item+&#39;Pager .tbutton&#39;).click(function (){$(item).setColumns(); });&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></strong><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; loadBeforeSend: null,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; search: true,<br />&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; searchdata: {},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .navGrid(item+&#39;Pager&#39;, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {refresh: true, edit: true, add: true, del: true, search: true}, <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {}, // edit options <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {}, // add options <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {}, // del options <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {} // search options <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; )<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <span style="color: #ff0000;"><strong>.navButtonAdd(item+&#39;Pager&#39;,{caption:"",title:"Select Columns",buttonimg:jQueryImagePath+&#39;/find.gif&#39;,position:&#39;last&#39;,onClickButton:null}</strong></span><br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; );</p>
]]></description>
        	        	<pubDate>Wed, 22 Oct 2008 14:52:52 +0300</pubDate>
        </item>
</channel>
</rss>