<?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: JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position</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/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>magister on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p26646</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p26646</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Thanks. Will be fixed.</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Hi Tony</p>
<p>I dont know if it&#39;s the same problem, but i have an issue when i want to <strong>resize my columns</strong><span style="text-decoration: underline;"> after moving the parent window of the jqGrid</span> <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_sad.gif" alt=":(" /></p>
</p>
<p>My grid is into a window type : jWindow plugin</p>
<p>(It works normal on Firefox but not on IE9 (new lines under the grid), Chrome, Safari (no resize of my columns))</p>
</p>
<p>Thanks for your help, &#160;because i really want to use your plugin seems great, otherwise <img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
</p>
<p>What we can do ?</p>
<p>Exactly, it&#39;s dropping at the end of the resize : i forgot to say it&#39;works well with Firefox, but not on others browsers <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_sad.gif" alt=":(" /> See my code :&#160;<a rel="nofollow" href="http://dl.dropbox.com/u/28167627/grid_start.js" target="_blank">dl.dropbox.com/u/28167627/grid_start.js</a>&#160;</p>
</p>
<p>This is the simpliest full example that i can give you It provide a Window + a DataGrid inside You can resize when the window hasn&#39;t moved (after load) afterwards move this black window : <strong><span style="text-decoration: underline;">the column resize of the datagrid is totally bugging</span></strong> : launch into your browser : /simple/CliT_jqm/test_win.html all sources are here :<a rel="nofollow" href="http://dl.dropbox.com/u/28167627/simple.rar" target="_blank">dl.dropbox.com/u/28167627/simple.rar</a></p>
]]></description>
        	        	<pubDate>Tue, 22 May 2012 11:44:33 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p19061</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p19061</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. Will be fixed.</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 11 Aug 2010 10:20:07 +0300</pubDate>
        </item>
        <item>
        	<title>vchekan on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p19059</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p19059</guid>
        	        	<description><![CDATA[<p>Ok, I think I have it fixed here:</p>
<p><a href="http://github.com/vchekan/jqGrid/commit/792d8d85da532f507215d83f594f262578c22cc2" rel="nofollow" target="_blank"><a href="http://github.com/vchekan/jqGr" rel="nofollow">http://github.com/vchekan/jqGr</a>.....2578c22cc2</a></p>
]]></description>
        	        	<pubDate>Wed, 11 Aug 2010 02:10:55 +0300</pubDate>
        </item>
        <item>
        	<title>vchekan on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p19058</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p19058</guid>
        	        	<description><![CDATA[<p>I&#39;m having this problem too :((</p>
<p>I have a jqgrid, which pops an edit form with one of the fields being another jqgrid. When I Add/Delete rows in the top-level grid, all dialogs are under and aren&#39;t even visible unless you move the grid out of the way.</p>
]]></description>
        	        	<pubDate>Wed, 11 Aug 2010 00:41:36 +0300</pubDate>
        </item>
        <item>
        	<title>yial2 on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16250</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16250</guid>
        	        	<description><![CDATA[<blockquote>
<p>timbrown said:</p>
<p>@yial2</p>
</p>
<p>The isssue with the add fields being disabled has to do with the modal:true setting on the UI Dialog. Even though you have overridden the z-index for the dialog modal setting i believe disables all interaction with elements that are not children of the UI dialog. Therefore show up as enabled but are really disabled. I changed my outer dialog to modal:false and it works for adding and editing. Still not sure about the alertMsg positioning however.</p>
</p>
<p>tim</p>
</blockquote>
<hr />
<p>Yes Tim,</p>
<p>Thank you for sharing your finding, but I need to prevent user from doing anything else when UI dialog pop up, so modal:true is not an option for me. I have a hard time getting the mechanism between UI dialog and JqGrid&#39;s own JqModal to work smoothly toghether....they work great most of time....but unfortunately not in this scenario.</p>
]]></description>
        	        	<pubDate>Tue, 06 Apr 2010 10:17:17 +0300</pubDate>
        </item>
        <item>
        	<title>timbrown on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16246</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16246</guid>
        	        	<description><![CDATA[<p>@yial2</p>
</p>
<p>The isssue with the add fields being disabled has to do with the modal:true setting on the UI Dialog. Even though you have overridden the z-index for the dialog modal setting i believe disables all interaction with elements that are not children of the UI dialog. Therefore show up as enabled but are really disabled. I changed my outer dialog to modal:false and it works for adding and editing. Still not sure about the alertMsg positioning however.</p>
</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Tue, 06 Apr 2010 02:55:18 +0300</pubDate>
        </item>
        <item>
        	<title>timbrown on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16225</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16225</guid>
        	        	<description><![CDATA[<p>@<small><em>yial2 @tony</em></small></p>
<p><small><em>&#160;</em></small>in firebug it logs the warning of @yial2 testing example</p>
</p>
<p>&#39;The &#39;charCode&#39; property of a keydown event should not be used. The value is meaningless.&#39; when you type into the add field. Not sure if this helps towards a resolution.</p>
]]></description>
        	        	<pubDate>Sat, 03 Apr 2010 21:42:32 +0300</pubDate>
        </item>
        <item>
        	<title>timbrown on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16224</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p16224</guid>
        	        	<description><![CDATA[<p>Any Update on a work around for this issue. I also have been having trouble getting the add/edit/warning no row selected modals to show up above my ui dialog that has a jqgrid load into it. THey appear behind. I&#39;ve set the z-index of the ui dialog to 700 and still shows up in front of the add/edit dialogs. any insight into a work around would be appreciated.</p>
</p>
<p>thanks.</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Sat, 03 Apr 2010 21:35:18 +0300</pubDate>
        </item>
        <item>
        	<title>tony on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15801</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15801</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I see this and I could not tell you currently which is the reason.</p>
<p>Please live the link for a couple of days.</p>
<p>Thank you.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 18 Mar 2010 11:04:34 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15678</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15678</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thank You! This example, <a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://www.grainfarmltd.com/testing/home/test3&#39;);" href="http://www.grainfarmltd.com/testing/home/test3" target="_blank">JqGrid inside JqModal</a>, is working now after I set first modal&#39;s position: absolute, but <strong>the "alertmod" modal is still always showing on the top &#8211; for example, the warning message you get when you click on delete without selecting any rows.</strong> Any thought?</p>
<p>As for this example, <a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://www.grainfarmltd.com/testing&#39;);" href="http://www.grainfarmltd.com/testing" target="_blank">JqGrid inside UI Dialog</a>, the disabled add modal probelm is still haunting me. Please see picture below. I know from your blog, you decided not to use/support UI dialog with JqGrid, and JqModal was applied instead. Could this be the reason that they don&#39;t work so well together?<br /><a href="http://www.grainfarmltd.com/testing/content/jqgrid.jpg"><img src="http://www.grainfarmltd.com/testing/content/jqgrid.jpg" width="100"  class="sfimageleft spUserImage" alt="JqGrid in UI Dialog" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class="sfimageleft sfmouseleft" alt="Image Enlarger" /></a></p>
]]></description>
        	        	<pubDate>Sun, 14 Mar 2010 07:41:26 +0200</pubDate>
        </item>
        <item>
        	<title>tony on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15663</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15663</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. The problem is in first modal, and not in jqGrid.</p>
<p>If the first modal has a position : absolute with the appropriate top and left values evrething will work as in first example.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 13 Mar 2010 19:54:21 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15632</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15632</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>There are actually two differenct examples.</p>
<p>In example one, <a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://www.grainfarmltd.com/testing&#39;);" href="http://www.grainfarmltd.com/testing" target="_blank">JqGrid inside UI Dialog</a></p>
<p>The z-index of the "dialog" that contains the grid is 802, and the grid add dialog z-index is 950. They are ok in this case, but you can NOT type/input anything in the grid add dialog.</p>
</p>
<p>In example two, <a onclick="javascript:pageTracker._trackPageview(&#39;/outbound/article/http://www.grainfarmltd.com/testing&#39;);" href="http://www.grainfarmltd.com/testing/home/test3" target="_blank">JqGrid inside JqModal</a></p>
<p>Yes, you were right. The z-index of the "jqModal" that contains the grid is 3000, while the grid add dialog z-index is 950. I changed the default jqModal z-index to 800 to bring the grid add dialog to front. This is done but the grid add dialog is always poping up in the top of the page instead of poping up in a positon relative to the grid.</p>
</p>
<p>Both examples, when you click on delete without selecting any rows, have the same problem of incorrect alertmod position .</p>
</p>
<p>Do you have any insights to these two separate example&#39;s problems? Thanks!<img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
]]></description>
        	        	<pubDate>Thu, 11 Mar 2010 23:29:55 +0200</pubDate>
        </item>
        <item>
        	<title>tony on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15613</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15613</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>In the exmple I see that the first modal whare the grid is is 3000, while the grid add dialog has a z-index 950</p>
<p>Please correct this to see the problem correct</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 11 Mar 2010 14:58:52 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15572</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15572</guid>
        	        	<description><![CDATA[<p>Hey Tony,</p>
<p>Thank you for your suggestion. I tried but still without any success. I finally got around to put up a test site for you, I hope it will be easier for you to check if you get a chance.<br /><a href="http://www.grainfarmltd.com/testing" target="_blank">Test for jqgrid inside dialog</a>(scroll all the way to bottom to click on popup)<br /><a href="http://www.grainfarmltd.com/testing/home/test3" target="_blank">Test for jqgrid inside JqModal</a><br />If you click on "delete" in navgrid without selecting any row, you can see the alert message&#39;s position is not aligned with JqGrid. Most importantly, when you try to add in "jqgrid in dialog", the keyboard and mouse is disable in form editing modal.<img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p></p>
]]></description>
        	        	<pubDate>Wed, 10 Mar 2010 07:54:46 +0200</pubDate>
        </item>
        <item>
        	<title>tony on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15389</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15389</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I do not think so. Please clear your cache and in firebug see if you have the proper files loaded.</p>
</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 05 Mar 2010 12:11:14 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15243</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15243</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Thank you for your suggestion. I have included the correct files. I did make sure I do NOT use any files from the src folder, but the exact problems are still showing.</p>
</p>
<p>For JqGrid in a JqModal, I change the included files to the following....</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2853' value='Select Code' data-codeid='sfcode2853' /></p>
<div class='sfcode' id='sfcode2853'>&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/css/ui-lightness/jquery-ui-1.7.2.custom.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/css/ui.jqgrid.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jquery-1.3.2.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/i18n/grid.locale-en.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/jquery.jqGrid.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;</div>
</p>
<p>The edit/delete form and alertmod message are still showing in the incorrect position.</p>
</p>
<p>For JqGrid in an ui dialog, I change the included file files setting to the following....</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6920' value='Select Code' data-codeid='sfcode6920' /></p>
<div class='sfcode' id='sfcode6920'>&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/css/ui-lightness/jquery-ui-1.7.2.custom.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/css/ui.jqgrid.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jquery-1.3.2.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/js/jquery-ui-1.7.2.custom.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/i18n/grid.locale-en.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/jquery.jqGrid.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;</div>
</p>
<p>I know it is fairly common to use a JqGrid inside an UI Dialog, am I the only one encountering the problems of "disabled" text input on the edit form popup and incorrect alertmod message position??<img class="spSmiley" style="margin:0" title="Yell" src="/blog/wp-content/forum-smileys/sf-yell.gif" alt="Yell" /> .....Help....</p>
<p>(note: alertmod message =&#62; The message you get when you click on delete icon on navgrid without selecting any records)</p>
]]></description>
        	        	<pubDate>Sun, 28 Feb 2010 08:51:02 +0200</pubDate>
        </item>
        <item>
        	<title>tony on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15215</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15215</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yo have installatin problem, maybe you use the development CSS file - you should use the one NOT from src directory</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Sat, 27 Feb 2010 19:57:54 +0200</pubDate>
        </item>
        <item>
        	<title>yial2 on JqGrid in a JqModal causes incorrect edit/delete/alertmod modal position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15209</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-a-jqmodal-causes-incorrect-editdeletealertmod-modal-position#p15209</guid>
        	        	<description><![CDATA[</p>
<p>I place JqGrid inside a JqModal, but when I click on "add" icon on navgrid to bring up the edit form popup, the&#160; form&#39;s position in not relative to JqGrid top left corner.</p>
<p>Also, the "alertmod" does NOT seem to show in the correct position whe you click on delete without selecting any rows. This is problem for me in my UI design.</p>
<p>I have placed "divTallBlock1&#8243; and "divTallBlock2&#8243; in the HTML just to make it easier to see edit/delete/alertmod show in different places.</p>
<p>(The z-index in JqModal is modified from 3000 to 800 in order for the edit form to show on top of the grid.) I have been struggling days for this problem. Any possible work around hacks?<img class="spSmiley" style="margin:0" title="Cool" src="/blog/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /></p>
<p><input type='button' class='sfcodeselect' name='sfselectit2046' value='Select Code' data-codeid='sfcode2046' /></p>
<div class='sfcode' id='sfcode2046'>&#60;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml&#038;quot" rel="nofollow" target="_blank">http://www.w3.org/1999/xhtml&#038;quot</a>; &#62;<br />&#60;head runat=&#34;server&#34;&#62;<br />&#60;title&#62;Test3&#60;/title&#62;<br />&#60;style type=&#34;text/css&#34;&#62;<br />&#160;&#160;&#160; .jqmWindow {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; display: none;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; position: fixed;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; top: 17%;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; left: 50%;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; margin-left: -350px;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 700px;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; background-color: #EEE;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; color: #333;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; border: 1px solid black;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; padding: 12px;<br />&#160;&#160;&#160; }<br />&#60;/style&#62;<br />&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/development-bundle/themes/ui-lightness/ui.all.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/css/ui.jqgrid.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jquery-1.3.2.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/i18n/grid.locale-en.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/jquery.jqGrid.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script type=&#34;text/javascript&#34;&#62;<br />$(function() {&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; $(&#34;#list2&#34;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/Home/Test3Data/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Name&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [{ name: &#39;Name&#39;, index: &#39;Name&#39;, width: 680, align: &#39;left&#39;, editable: true, editrules: { required: true}}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager2&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 5,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [5, 10, 20, 50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;Name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#34;desc&#34;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: &#39;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/css/ui-lightness/images&#34;) %&#62;&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;My first grid&#39;<br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; $(&#34;#list2&#34;).navGrid(&#39;#pager2&#39;,{add: true, del: true, edit:false, refresh: false, search: false, view: false}, {}, {modal: true}, {}, {}, {});</p>
<p>&#160;&#160;&#160; $(&#34;#divModal&#34;).jqm({overlay: 20});</p>
<p>&#160;&#160;&#160; $(&#34;#btnPopUp&#34;).click(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#divModal&#34;).jqmShow();<br />&#160;&#160;&#160; });<br />});<br />&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;div id=&#34;divModal&#34; class=&#34;jqmWindow&#34;&#62;<br />&#160;&#160;&#160; &#60;table id=&#34;list2&#34; cellpadding=&#34;0&#34; cellspacing=&#34;0&#34;&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#60;div id=&#34;pager2&#34;&#62;&#60;/div&#62;<br />&#60;/div&#62;<br />&#60;div id=&#34;divTallBlock1&#34; style=&#34;width: 200px; height: 2000px; background-color: Red&#34;&#62;&#60;/div&#62;<br />&#60;div id=&#34;divTallBlock2&#34; style=&#34;width: 600px; height: 2000px; background-color: Green&#34;&#62;&#60;/div&#62;<br />&#60;input type=&#34;button&#34; id=&#34;btnPopUp&#34; value=&#34;PopUp&#34; /&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 131px; width: 1px; height: 1px; overflow: hidden;">&#60;style type="text/css"&#62;<br />&#160;&#160;&#160; .jqmWindow {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; display: none;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; position: fixed;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; top: 17%;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; left: 50%;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; margin-left: -350px;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; width: 700px;<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; background-color: #EEE;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; color: #333;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; border: 1px solid black;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; padding: 12px;<br />&#160;&#160;&#160; }<br />&#60;/style&#62;<br />&#60;link href="&#60;%= Url.Content("~/Scripts/jqueryUI/development-bundle/themes/ui-lightness/ui.all.css") %&#62;" rel="stylesheet" type="text/css" /&#62;<br />&#60;link href="&#60;%= Url.Content("~/Scripts/jqGrid/css/ui.jqgrid.css") %&#62;" rel="stylesheet" type="text/css" /&#62;<br />&#60;script src="&#60;%= Url.Content("~/Scripts/jquery-1.3.2.min.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 />$(function() {&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160; $("#list2&#8243;).jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url: &#39;/Home/Test3Data/&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;GET&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames: [&#39;Name&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel: [<br />&#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;, editable: true, editrules: { required: true}}],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; pager: &#39;#pager2&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum: 5,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList: [5, 10, 20, 50],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;Name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: "desc",<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#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; caption: &#39;My first grid&#39;<br />&#160;&#160;&#160; });<br />&#160;&#160;&#160; $("#list2&#8243;).navGrid(&#39;#pager2&#39;,{add: true, del: true, edit:false, refresh: false, search: false, view: false}, {}, {modal: true}, {}, {}, {});</p>
<p>&#160;&#160;&#160; $("#divModal").jqm({overlay: 20});</p>
<p>&#160;&#160;&#160; $("#btnPopUp").click(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $("#divModal").jqmShow();<br />&#160;&#160;&#160; });<br />});<br />&#60;/script&#62;</p>
</div>
<p>So&#8230;after sever days trial and efforts, I decide to try to have a JqGrid inside a UI Dialog. To my suprise, the position of edit form is position correctly, but "alertmod" is still showing incorrect position(JqGrid is at the bottom of the html while alertmod is all the way on the top).</p>
<p>However, a bigger new problem is encountered. Text input on the edit form is disabled! (Please see last two post of <a href="/blog/?page_id=393/help/formedit-popup-from-modal-dialog/&#38;value=2584&#38;type=8&#38;include=0&#38;search=1&#38;ret=all" target="_blank">this link</a>). I know it will get rid of the text input problem if I set dialog modal:false, but modal behavior is really a desired one. Following is the code with UI dialog.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6548' value='Select Code' data-codeid='sfcode6548' /></p>
<div class='sfcode' id='sfcode6548'>&#60;html xmlns=&#34;<a href="http://www.w3.org/1999/xhtml&#038;quot" rel="nofollow" target="_blank">http://www.w3.org/1999/xhtml&#038;quot</a>; &#62;<br />&#60;head id=&#34;Head1&#34; runat=&#34;server&#34;&#62;<br />&#60;title&#62;Test4&#60;/title&#62;<br />&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/development-bundle/themes/ui-lightness/ui.all.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;link href=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/css/ui.jqgrid.css&#34;) %&#62;&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; /&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jquery-1.3.2.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/development-bundle/ui/ui.core.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/development-bundle/ui/ui.draggable.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/development-bundle/ui/ui.resizable.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/development-bundle/ui/ui.dialog.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/i18n/grid.locale-en.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script src=&#34;&#60;%= Url.Content(&#34;~/Scripts/jqGrid/js/jquery.jqGrid.min.js&#34;) %&#62;&#34; type=&#34;text/javascript&#34;&#62;&#60;/script&#62;<br />&#60;script type=&#34;text/javascript&#34;&#62;<br />&#160;&#160;&#160; $(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#list2&#34;).jqGrid({<br />&#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; datatype: &#39;json&#39;,<br />&#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; colNames: [&#39;Name&#39;],<br />&#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;, editable: true, editrules: { required: true}}],<br />&#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; rowNum: 5,<br />&#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; sortname: &#39;Name&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#34;desc&#34;,<br />&#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; imgpath: &#39;&#60;%= Url.Content(&#34;~/Scripts/jqueryUI/css/ui-lightness/images&#34;) %&#62;&#39;,<br />&#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; });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#list2&#34;).navGrid(&#39;#pager2&#39;,{add: true, del: true, edit:false, refresh: false, search: false, view: false}, {}, {modal: true}, {}, {}, {});<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#divModal&#34;).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; width: 700,<br />&#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; zIndex: 800,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; title: &#34;testing modal&#34;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#btnPopUp&#34;).click(function() {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $(&#34;#divModal&#34;).dialog(&#39;open&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; });<br />&#160;&#160;&#160; });<br />&#60;/script&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;div id=&#34;divModal&#34;&#62;<br />&#160;&#160;&#160; &#60;table id=&#34;list2&#34; cellpadding=&#34;0&#34; cellspacing=&#34;0&#34;&#62;&#60;/table&#62;<br />&#160;&#160;&#160; &#60;div id=&#34;pager2&#34;&#62;&#60;/div&#62;<br />&#60;/div&#62;<br />&#60;div id=&#34;divTallBlock1&#34; style=&#34;width: 200px; height: 2000px; background-color: Red&#34;&#62;&#60;/div&#62;<br />&#60;div id=&#34;divTallBlock2&#34; style=&#34;width: 600px; height: 2000px; background-color: Green&#34;&#62;&#60;/div&#62;<br />&#60;input type=&#34;button&#34; id=&#34;btnPopUp&#34; value=&#34;PopUp&#34; /&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
</div>
<p>I really hope someone can shed some light for using JqGrid in a JqModal or UI Dialog. Beside the problems, JqGrid is really great fun to work with. Good work Tony, Thank You!</p>
</p>
<p>Allen</p></p>
]]></description>
        	        	<pubDate>Sat, 27 Feb 2010 07:50:18 +0200</pubDate>
        </item>
</channel>
</rss>