<?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: jquery ui 1.10.2 autocomplete drop down renders behind jqgird form</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form</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/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>jbb43 on jquery ui 1.10.2 autocomplete drop down renders behind jqgird form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form#p28484</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form#p28484</guid>
        	        	<description><![CDATA[<p>Thanks 🙂 !</p>
]]></description>
        	        	<pubDate>Tue, 19 Mar 2013 23:10:10 +0200</pubDate>
        </item>
        <item>
        	<title>tony on jquery ui 1.10.2 autocomplete drop down renders behind jqgird form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form#p28477</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form#p28477</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>Thanks for this post.</p>
<p>In diffrence to the answer from jquery ui I will give you a solution.</p>
<p>I do not thnik that this is a bug in jqGrid and uiAutocomplete. This is a way they work.</p>
<p>The simple answer is jqGrid form edit and uiAutocomplete have diffrent initial zIndex where both are not in sync.</p>
<p>Here is the solution. You have two options</p>
<p>1. To change the zIndex of jqGrid Form which is default 950</p>
<p>2. To change the zIndex of the uiAutocomplete (respectivley .ui-front) which default is 100</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit4673' value='Select Code' data-codeid='sfcode4673' /></p>
<div class='sfcode' id='sfcode4673'>
<p>1.</p>
<p>jQuery("#jqgrid_m").jqGrid(&#39;navGrid&#39;,&#39;#jqpager_m&#39;,{edit:true,add:true,del:false,search:false,refresh:false},</p>
<p>&#160;&#160; {zIndex:99}, // edit</p>
<p>&#160;&#160; {zIndex:99} // add<br />);</p>
</div>
<p>and the second way</p>
<p><input type='button' class='sfcodeselect' name='sfselectit5371' value='Select Code' data-codeid='sfcode5371' /></p>
<div class='sfcode' id='sfcode5371'>
<p>2.</p>
<p>...</p>
<p>dataInit : function(elem) {</p>
<p>$(elem).autocomplete({...});</p>
<p>$(&#39;.ui-autocomplete&#39;).css(&#39;zIndex&#39;,1000);</p>
<p>},</p>
<p>...</p>
</div>
<p>And finally I prefer to set the ui-front to some higer value than 100, since if you use the autocomplete</p>
<p>with other components you will have the same trouble.</p>
<p>So in youir main page after loading all ccs do</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8935' value='Select Code' data-codeid='sfcode8935' /></p>
<div class='sfcode' id='sfcode8935'>
<p>....</p>
<p>&#60;style type="text/css"&#62;</p>
<p>.ui-front {<br />&#160;&#160; &#160;z-index: 1000;<br />}</p>
<p>...</p>
<p>&#60;/style&#62;</p>
</div>
<p>Enjoy</p>
]]></description>
        	        	<pubDate>Tue, 19 Mar 2013 09:02:13 +0200</pubDate>
        </item>
        <item>
        	<title>jbb43 on jquery ui 1.10.2 autocomplete drop down renders behind jqgird form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form#p28475</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/jquery-ui-1-10-2-autocomplete-drop-down-renders-behind-jqgird-form#p28475</guid>
        	        	<description><![CDATA[<p>I tried to move to jquery ui 10.1, and discovered that using autocomplete on a jqgrid form results in the autocomplete drop down being displayed behind the &#39;add/edit&#39; jqgrid form.</p>
<p>My old version that worked: jquery 1.8.2, ui 1.8.2, jqgrid 4.4.3. It also works fine if I go up to query 1.9, and ui 1.9</p>
<p>Here is a test case for you: <a href="http://jsfiddle.net/jbb43/qASZT/8/" rel="nofollow" target="_blank">http://jsfiddle.net/jbb43/qASZT/8/</a></p>
<p>I posted a bug ticket to jquery, and got the following response from them:</p>
<p>"This is a bug in jqGrid. jqGrid is using a custom dialog and not utilizing&#160;<tt>.ui-front</tt>."</p>
<p>Is there a workaround I can use?</p>
]]></description>
        	        	<pubDate>Mon, 18 Mar 2013 22:45:10 +0200</pubDate>
        </item>
</channel>
</rss>