<?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 jquery ui dialog (modal) with nested modal dialog</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-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/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>gm1_marti on Jqgrid in jquery ui dialog (modal) with nested modal dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog#p30335</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog#p30335</guid>
        	        	<description><![CDATA[<blockquote>
<p>lotjuh said:</p>
<p>Hi,</p>
</p>
<p>I actually had the same issue and made me a little &#39;hack&#39; to make it work for me so maybe it&#39;ll help you as well.</p>
<p>in the add options / edit options of your navGrid options, add the following:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit220' value='Select Code' data-codeid='sfcode220' /></p>
<div class='sfcode' id='sfcode220'>&#39;afterShowForm&#39;: function(formid) {<br />&#160; &#160; $(&#39;#editmod&#39;+$(&#39;#myGrid&#39;).css(&#39;z-index&#39;, 95);<br />&#160; &#160; $(&#39;.ui-widget-overlay&#39;).removeAttr(&#39;style&#39;).addClass(&#39;ui-front&#39;).css(&#39;z-index&#39;, 90);<br />&#160; &#160; $(&#39;#modalDialog&#39;).parent().css(&#39;z-index&#39;, 120);<br />},<br />&#39;onClose&#39; &#160; &#160; &#160;: function(formId) {<br />&#160; &#160; $(&#39;#modalDialog&#39;).parent().css(&#39;z-index&#39;, &#39;&#39;);<br />&#160; &#160; if($(&#39;#modalDialog&#39;).dialog(&#39;isOpen&#39;)) {<br />&#160; &#160; &#160; &#160; $(&#39;#modalDialog&#39;).dialog(&#39;close&#39;);<br />&#160; &#160; }<br />}</div>
<p>Ofcourse change &#39;#modalDialog&#39; into your dialog selector and &#39;#myGrid&#39; into your grid selector.</p>
<p>Hope this&#39;ll help you for now</p>
</p>
<p>Kind regards,</p>
<p>Lotte-Sara Laan</p>
</p>
</blockquote>
<hr />
<p>Sara, thank you very much for the workaround, but for my project doesn&#180;t seems to work. &#160;I&#180;ve modified the jqgrid component to support jquery ui-modal dialog instead of JQmodal.&#160;</p>
<p>Kind regards,</p>
<p>Gonzalo.</p>
]]></description>
        	        	<pubDate>Wed, 05 Mar 2014 15:57:35 +0200</pubDate>
        </item>
        <item>
        	<title>lotjuh on Jqgrid in jquery ui dialog (modal) with nested modal dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog#p30309</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog#p30309</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I actually had the same issue and made me a little &#39;hack&#39; to make it work for me so maybe it&#39;ll help you as well.</p>
<p>in the add options / edit options of your navGrid options, add the following:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2329' value='Select Code' data-codeid='sfcode2329' /></p>
<div class='sfcode' id='sfcode2329'>&#39;afterShowForm&#39;: function(formid) {<br />&#160; &#160; $(&#39;#editmod&#39;+$(&#39;#myGrid&#39;).css(&#39;z-index&#39;, 95);<br />&#160; &#160; $(&#39;.ui-widget-overlay&#39;).removeAttr(&#39;style&#39;).addClass(&#39;ui-front&#39;).css(&#39;z-index&#39;, 90);<br />&#160; &#160; $(&#39;#modalDialog&#39;).parent().css(&#39;z-index&#39;, 120);<br />},<br />&#39;onClose&#39; &#160; &#160; &#160;: function(formId) {<br />&#160; &#160; $(&#39;#modalDialog&#39;).parent().css(&#39;z-index&#39;, &#39;&#39;);<br />&#160; &#160; if($(&#39;#modalDialog&#39;).dialog(&#39;isOpen&#39;)) {<br />&#160; &#160; &#160; &#160; $(&#39;#modalDialog&#39;).dialog(&#39;close&#39;);<br />&#160; &#160; }<br />}</div>
<p>Ofcourse change &#39;#modalDialog&#39; into your dialog selector and &#39;#myGrid&#39; into your grid selector.</p>
<p>Hope this&#39;ll help you for now</p>
</p>
<p>Kind regards,</p>
<p>Lotte-Sara Laan</p></p>
]]></description>
        	        	<pubDate>Mon, 03 Mar 2014 15:53:23 +0200</pubDate>
        </item>
        <item>
        	<title>gm1_marti on Jqgrid in jquery ui dialog (modal) with nested modal dialog</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog#p30226</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jqgrid-in-jquery-ui-dialog-modal-with-nested-modal-dialog#p30226</guid>
        	        	<description><![CDATA[<p>I have a grid in a jquery ui-dialog modal window. When I edit a row in the edit form, add a custom button that calls another jquery ui-dialog modal window with another grid. The problem is that the new window is back of form editing window . I have tried using the zIndex option, but I have not had a satisfactory result.</p>
<p>Apparently there is an incompatibility between jquery ui modal dialog and&#160;jqModal.</p>
<p>Waiting for your comments.</p>
<p>Thanks.</p>
]]></description>
        	        	<pubDate>Mon, 10 Feb 2014 18:04:26 +0200</pubDate>
        </item>
</channel>
</rss>