<?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: Delfunc : alertmod on empty selection - wrong position</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-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/help/delfunc-alertmod-on-empty-selection-wrong-position/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Tibag on Delfunc : alertmod on empty selection - wrong position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25919</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25919</guid>
        	        	<description><![CDATA[<p>Hi there,</p>
</p>
<p>As nobody was able to help me, I chose to hide the butons when nothing is selected. Doing so, user is not able to show the alertmod. Here is how to hide the butons when nothing is selected (this is an option of the jqGrid() function):</p>
<p>onSelectRow: function (rowid) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;thisId = $.jgrid.jqID(this.id);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;if (jQuery("#mygrid").jqGrid(&#39;getGridParam&#39;,&#39;selarrrow&#39;) != "") {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$("#del_" + thisId).removeClass(&#39;ui-state-disabled&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$("#del_" + thisId + "_top").removeClass(&#39;ui-state-disabled&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;} else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$("#del_" + thisId).addClass(&#39;ui-state-disabled&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$("#del_" + thisId + "_top").addClass(&#39;ui-state-disabled&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br />&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; return true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;}</p></p>
]]></description>
        	        	<pubDate>Fri, 10 Feb 2012 12:31:01 +0200</pubDate>
        </item>
        <item>
        	<title>Tibag on Delfunc : alertmod on empty selection - wrong position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25773</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25773</guid>
        	        	<description><![CDATA[<p><img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" /></p>
]]></description>
        	        	<pubDate>Tue, 24 Jan 2012 12:37:19 +0200</pubDate>
        </item>
        <item>
        	<title>Tibag on Delfunc : alertmod on empty selection - wrong position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25741</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25741</guid>
        	        	<description><![CDATA[<p>Anybody ? <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
]]></description>
        	        	<pubDate>Fri, 20 Jan 2012 15:41:20 +0200</pubDate>
        </item>
        <item>
        	<title>Tibag on Delfunc : alertmod on empty selection - wrong position</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25686</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/delfunc-alertmod-on-empty-selection-wrong-position#p25686</guid>
        	        	<description><![CDATA[<p>Hi all !</p>
<p>After hours of searching an answer, here i am. <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
<p>I&#39;m on jqGrid 4.3.1.</p>
</p>
<p>I implemented the del function on the navgrid and I got an issue when pushing the corresponding button when no row is selected. I&#39;m well getting the alert modal with "Warning, no data selected", but :</p>
<ul>
<li>On Firefox : if I&#39;m at the end of my page (I have 100 records on a page) the scroll bar doesn&#39;t go at the top of the screen. Doing so, the user can miss the popup. Actually, the focus of the page is move just under the alert modal.</li>
<li>On Internet Explorer 8 : it&#39;s worth. The screen move like on Firefox but the overlay is displayed like if it&#39;s on "display: block". So the overlay is on the top of the page and the content is under the page.</li>
</ul>
<p>Here are some screens of those bugs :</p>
<p><strong>Bug in Firefox after clicking on "delete" (I changed the icon). The alert modal is in red :</strong></p>
<p>[Image Can Not Be Found]</p>
</p>
<p><strong>Bug in Internet Explorer :<br /></strong></p>
<p><a href="http://img406.imageshack.us/img406/5317/bugie7.png"><img src="http://img406.imageshack.us/img406/5317/bugie7.png" width="100"  style="vertical-align: middle;" class="spUserImage" alt="" /><img src="http://www.trirand.com/blog/wp-content/sp-resources/forum-themes/default/images/sp_Mouse.png" class=" sfmouseother" alt="Image Enlarger" /></a></p>
</p>
<p>Do you have any idea that explain why I got those bugs ?</p>
<p>As I didn&#39;t find any solution, I wanted to not to display this popup. But I didn&#39;t find a way to do that&#8230; <img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
<p>Any help would be appreciated. <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
]]></description>
        	        	<pubDate>Mon, 16 Jan 2012 16:05:55 +0200</pubDate>
        </item>
</channel>
</rss>