<?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: possible navgrid bugs?</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs</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/possible-navgrid-bugs/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>julz on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p17425</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p17425</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>thks for the tips ! Actually you were right, my toolbar was initialized twice !</p>
]]></description>
        	        	<pubDate>Mon, 24 May 2010 19:04:01 +0300</pubDate>
        </item>
        <item>
        	<title>tony on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p17344</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p17344</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Looking into the code, you will need to call navGrid only once.</p>
<p>The grid itself can determine if it is already constructed and gracefully exit from this situation, but not the navGrid, since every clicking of the button call it again and again.</p>
<p>One possible solution is to define variable if it is called and do not call it if it is already constructed</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 18:30:12 +0300</pubDate>
        </item>
        <item>
        	<title>julz on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p17340</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p17340</guid>
        	        	<description><![CDATA[<p>any news about a fix for this bug ?</p>
<p>I encounter the same problem since I upgrade to the 3.6.5 version...</p>
<p>Thx !</p>
]]></description>
        	        	<pubDate>Thu, 20 May 2010 17:46:07 +0300</pubDate>
        </item>
        <item>
        	<title>tony on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15197</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15197</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks for sharing the code.</p>
<p>IMHO, this is not a jqGrid bug, but rather a dialog one. Insetead I will try to investigate the problem</p>
<p>Thanks again</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 26 Feb 2010 21:49:34 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15142</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15142</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I think I know where the problem is, but I don&#39;t know "why" it happens</p>
<p>Following are the code to my program</p>
</p>
<p>&#60;script src="&#60;%= Url.Content("~/Scripts/jqueryUI/development-bundle/ui/ui.core.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="&#60;%= Url.Content("~/Scripts/jqueryUI/development-bundle/ui/ui.draggable.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="&#60;%= Url.Content("~/Scripts/jqueryUI/development-bundle/ui/ui.resizable.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="&#60;%= Url.Content("~/Scripts/jqueryUI/development-bundle/ui/ui.dialog.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="&#60;%= Url.Content("~/Scripts/jqGrid/js/i18n/grid.locale-en.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script src="&#60;%= Url.Content("~/Scripts/jqGrid/js/jquery.jqGrid.min.js") %&#62;" type="text/javascript"&#62;&#60;/script&#62;<br />&#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160; $(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#divModal").dialog({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; autoOpen: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; overflow: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; title: "testing modal"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#btnPopUp").click(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#divModal").dialog(&#39;open&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160; });<br />&#60;/script&#62;</p>
<p>&#60;table id="list" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#60;div id="pager"&#62;&#60;/div&#62;<br />&#60;input type="button" id="btnPopUp" value="PopUp" /&#62;</p>
<p>&#60;div id="divModal"&#62;<br />&#160;&#160;&#160; &#60;script type="text/javascript"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#list2").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/Home/Test3Data/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Name&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;Name&#39;, index: &#39;Name&#39;, width: 680, align: &#39;left&#39;}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager2&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 5,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [5, 10, 20, 50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;Name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;&#60;%= Url.Content("~/Scripts/jqueryUI/css/ui-lightness/images") %&#62;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;My first grid&#39;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#list2").navGrid(&#39;#pager2&#39;, { add: true, del: true, edit: false, refresh: false, search: false, view: false }, {}, {}, {}, {}, {});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160; &#60;/script&#62;<br />&#160;&#160;&#160; &#60;table id="list2" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#60;div id="pager2"&#62;&#60;/div&#62;<br />&#60;/div&#62;</p>
</p>
<p>The code above will generate the error I post before. If you move the javascript "inside" the divModal out of it(outside the divModal), there will not be any problem. You may ask why I didn&#39;t put all the javascript in one place, the reason is that divModal is actually a user control I created and use repeatedlly on some other pages. I am happy to pin point down the problem, but I guess this is not a bug. <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/forum-smileys/sf-wink.gif" alt="Wink" /></p>
]]></description>
        	        	<pubDate>Thu, 25 Feb 2010 08:16:55 +0200</pubDate>
        </item>
        <item>
        	<title>tony on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15127</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15127</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is really strange - can you please share your code or provide a link to the problem.</p>
<p>Please all the code if you do so.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 24 Feb 2010 20:03:53 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on possible navgrid bugs?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15115</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/possible-navgrid-bugs#p15115</guid>
        	        	<description><![CDATA[<p>Files used:</p>
<p>1. JQuery 1.3.2</p>
<p>2. JqGrid 3.5.3</p>
<p>3. JQuery UI 1.7.2(core.js, draggable.js, resizable.js, dialog.js)</p>
</p>
<p>When a JqGrid is placed inside a dialog window, if "add"/"delete" buttons are enabled</p>
<p>(e.g. { edit: false, add: true, del: true, refresh: false, search: false })</p>
<p>the navgrid seems to duplicated the "add"/"delete" buttons. "Add" button will be rendered twice, same with"Delete" button</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#divModal").dialog({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; autoOpen: false,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; modal: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; title: "abc"<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>divModal is the div contains the table and pager for the JqGrid.</p>
</p>
<p>However, when I comment out the dialog function to have divModal as a regular div on the page instead of inside a dialog window, the navgrid render the button correctly. Any thoughts/reply will be greatly appreciated! Thanks in advance.<img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
]]></description>
        	        	<pubDate>Wed, 24 Feb 2010 11:23:51 +0200</pubDate>
        </item>
</channel>
</rss>