<?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: unselect row once hover changes to different row?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row</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/unselect-row-once-hover-changes-to-different-row/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>RonConrad on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27210</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27210</guid>
        	        	<description><![CDATA[<p>Thanks for the advice...I could not get that to work either.&#160; Has anyone created code for a "deselect" button for the jqGrid?</p>
]]></description>
        	        	<pubDate>Mon, 27 Aug 2012 17:30:49 +0300</pubDate>
        </item>
        <item>
        	<title>krisreddy on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27196</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27196</guid>
        	        	<description><![CDATA[<p>Instead of window.open &#8211; could you make an ajax call and open the window in diaglog and call the resetSelection in the loadComplete event.&#160;</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit1646' value='Select Code' data-codeid='sfcode1646' /></p>
<div class='sfcode' id='sfcode1646'>
<p>$(&#34;#someDiv&#34;).load(URL,function(){</p>
<p><span style=&#34;white-space: pre;&#34;> </span>grid.jqGrid(&#39;resetSelection&#39;);</p>
<p><span style=&#34;white-space: pre;&#34;> </span>});</p>
</div>
]]></description>
        	        	<pubDate>Fri, 24 Aug 2012 20:18:33 +0300</pubDate>
        </item>
        <item>
        	<title>RonConrad on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27184</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27184</guid>
        	        	<description><![CDATA[<p>Ok, here&#39;s what I have, but I still cannot get the grid to reset...</p>
</p>
<p>&#160;&#160;&#160; var grid=$("#list");<br />&#160;&#160; &#160;$(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;$(window).focus(function() {<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;// your code here $.jqgrid.....;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;console.log("before");<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;grid.jqGrid(&#39;resetSelection&#39;); <br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;console.log("after");<br />&#160;&#160; &#160;&#160;&#160; &#160;});<br />&#160;&#160; &#160;});</p>
<p>in FireBug I always get "before", and "after" messages, but the grid never resets.&#160; If I change the name of the method I receive an error so I know the grid.jqGrid(&#39;resetSelection&#39;); is being called but no result, and the selected row remains selected. <img class="spSmiley" style="margin:0" title="Frown" src="/blog/wp-content/forum-smileys/sf-frown.gif" alt="Frown" /></p>
<p>I feel like I&#39;m close on this one...</p>
]]></description>
        	        	<pubDate>Wed, 22 Aug 2012 22:27:16 +0300</pubDate>
        </item>
        <item>
        	<title>RonConrad on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27183</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27183</guid>
        	        	<description><![CDATA[<p>I think ideally I need to run $(resetSelection()); once this window has focus again.&#160; How would I accomplish this?&#160; Thanks!</p>
]]></description>
        	        	<pubDate>Wed, 22 Aug 2012 21:44:03 +0300</pubDate>
        </item>
        <item>
        	<title>RonConrad on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27182</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27182</guid>
        	        	<description><![CDATA[<p>Yes <strong>resetSelection</strong> is the method I need, but what method should I call it from?&#160; Is there an event/method for hovering over a row?</p>
</p>
<p>I tried putting it in "<span style="color: #0000ff;">afterSelectRow</span>", but that method never fires because control is passed to the other tab at that point (with my "<span style="color: #ff0000;">$(window.open(rtrim(theURL)));</span> statement.&#160; I&#39;ve also tried putting it after that line in the <span style="color: #0000ff;">onSelectRow</span> function, but it never hits it.</p>
</p>
<p>putting <span style="color: #ff0000;">$(resetSelection());</span> resets the selection, but never lets me actually call the <span style="color: #0000ff;">onSelectRow</span> function.</p>
</p>
<p>putting it in a <span style="color: #0000ff;">mousemove</span> type method would be ideal...</p>
]]></description>
        	        	<pubDate>Wed, 22 Aug 2012 21:33:10 +0300</pubDate>
        </item>
        <item>
        	<title>krisreddy on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27181</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27181</guid>
        	        	<description><![CDATA[<p>you can try jQuery(&#39;#list&#39;).jqGrid(&#39;resetSelection&#39;);</p>
</p>
<p>after you open the url</p>
]]></description>
        	        	<pubDate>Wed, 22 Aug 2012 21:18:19 +0300</pubDate>
        </item>
        <item>
        	<title>RonConrad on unselect row once hover changes to different row?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27180</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/unselect-row-once-hover-changes-to-different-row#p27180</guid>
        	        	<description><![CDATA[<p>Is there a way to unselect a row (onSelectRow) once you hover over a different row?</p>
</p>
<p>My grid passes control to another tab/window during the onSelectRow function.&#160; Once control is back to the grid, and the user hovers over a different row, how do I "unhighlight/deselect" the previously selected row?</p>
</p>
<p>Here is my onSelectRow function:</p>
</p>
<p>&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;<span style="color: #3366ff;"> <strong>onSelectRow: function (id) {&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;<span style="color: #c0c0c0;">// If user selects a row, call the page that displays building info.</span><br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var listid = jQuery(&#39;#list&#39;).getCell(id, "BLDGCODE");<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var theEntireURL = (window.location.href);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var endOfString = theEntireURL.indexOf("jqGridFilterExample");<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;var theURL = theEntireURL.substr(0,endOfString)+&#39;DisplayBuildingFG.cfm?BuildingCode=&#39;+listid;<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;$(window.open(rtrim(theURL)));<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160; },</strong></span></p></p>
]]></description>
        	        	<pubDate>Wed, 22 Aug 2012 19:38:39 +0300</pubDate>
        </item>
</channel>
</rss>