<?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: Modal search dialog</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog</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/modal-search-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Modal search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25226</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25226</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>First of all thank you for the test case. It is bug</p>
<p>The true fix is:</p>
<p>var parentZ = $(insertSelector).parents("*[role=dialog]").filter(&#39;:first&#39;).css("z-index");</p>
<p>if(parentZ) {<br />&#160;&#160;&#160;&#160;&#160;<strong> p.zIndex = parseInt(parentZ,10)+2;</strong><br />} else {<br />&#160;&#160;&#160;&#160;&#160; p.zIndex = 950;<br />}</p>
</p>
<p>We should incremet it by 2 and not by 1 as was.</p>
<p>This is because the overlay have<strong>&#160;&#160; </strong><strong>p.zIndex-1</strong></p>
<p>In your case the overlay z-index is equal to the z-index of the ui-dialog which make the problem.</p>
<p>Also fixed in GitHub.</p>
<p><a rel="nofollow" href="https://github.com/tonytomov/jqGrid/commit/edba3f2c049cbb2e87e56f516a4432b5af572d03" target="_blank">https://github.com/tonytomov/jqGrid/commit/edba3f2c049cbb2e87e56f516a4432b5af572d03</a></p>
<p>Thanks again.</p>
<p>Tony</p>
<p><strong><br /></strong></p>
]]></description>
        	        	<pubDate>Wed, 23 Nov 2011 12:42:58 +0200</pubDate>
        </item>
        <item>
        	<title>vrifino on Modal search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25225</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25225</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>Did you have try to set higher z-index of the dialog?</p>
<p>It seems you use grid in another modal dialog.</p>
</p>
<p>Regards</p>
</blockquote>
<hr />
<p>The dialiog I use isn&#39;t modal and it is the only one on the browser window.</p>
<p>I make a minimalist test package u can download from:</p>
<p><a href="http://www.mediafire.com/?f5pnz74kkcw2z20" rel="nofollow" target="_blank"><a href="http://www.mediafire.com/?f5pn" rel="nofollow">http://www.mediafire.com/?f5pn</a>.....74kkcw2z20</a></p>
</p>
<p>Thanks,</p>
<p>Vito</p>
]]></description>
        	        	<pubDate>Wed, 23 Nov 2011 10:37:50 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Modal search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25216</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25216</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Did you have try to set higher z-index of the dialog?</p>
<p>It seems you use grid in another modal dialog.</p>
</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 23 Nov 2011 08:21:20 +0200</pubDate>
        </item>
        <item>
        	<title>vrifino on Modal search dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25210</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/modal-search-dialog#p25210</guid>
        	        	<description><![CDATA[<p>I&#39;m using jqGrid 4.2 and I have a diplay problem with modal search dialog.</p>
<p>I&#39;ve a grid in a dialog: the first time the modal search dialog displays&#160;well, but i can interact with the dialog below.</p>
</p>
<p><a href="http://img15.hostingpics.net/pics/444897dialog.png"><img src="http://img15.hostingpics.net/pics/444897dialog.png" width="100"  class="sfimageleft spUserImage" alt="" /><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>
</p>
<p>The second time the modal search dialog displays below.</p>
</p>
<p><a href="http://img15.hostingpics.net/pics/202563dialog2.png"><img src="http://img15.hostingpics.net/pics/202563dialog2.png" width="100"  class="sfimageleft spUserImage" alt="" /><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>
</p>
<p>I try to modify the createModal code, and all works well. I replace this code</p>
</p>
<p>var parentZ = $(insertSelector).parents("*[role=dialog]").filter(&#39;:first&#39;).css("z-index");</p>
</p>
<p>with</p>
</p>
<p>var parentZ = Math.max.apply(null,$.map($(&#39;body &#62; *&#39;), function(e,n){</p>
<p style="padding-left: 30px;">if($(e).css(&#39;position&#39;)==&#39;absolute&#39;)</p>
<p style="padding-left: 60px;">return parseInt($(e).css(&#39;z-index&#39;))&#124;&#124;1 ;</p>
<p style="padding-left: 30px;">})</p>
<p>);</p>
</p>
<p>Thanks,</p>
<p>Vito</p></p>
]]></description>
        	        	<pubDate>Tue, 22 Nov 2011 19:16:31 +0200</pubDate>
        </item>
</channel>
</rss>