<?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: beforeSelectRow, last selected issue</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue</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/beforeselectrow-last-selected-issue/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on beforeSelectRow, last selected issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue#p5149</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue#p5149</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>How and where is changed last_row? Use FireBug to determine what value have the last_row.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 06 Mar 2009 00:45:07 +0200</pubDate>
        </item>
        <item>
        	<title>james_ on beforeSelectRow, last selected issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue#p5096</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue#p5096</guid>
        	        	<description><![CDATA[<p>.. and remember there&#39;s nothing wrong with anything else here since it does work when I hard code the number, even if it&#39;s the very same number as I see when using alert on last_row. I know it should say # in front of &#39;grid&#39; in the selector but I just wrote a simple example here (but it&#39;s tested.. ). last_row is also set = rowid at each execution..</p>
]]></description>
        	        	<pubDate>Tue, 03 Mar 2009 16:06:01 +0200</pubDate>
        </item>
        <item>
        	<title>james_ on beforeSelectRow, last selected issue</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue#p5094</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeselectrow-last-selected-issue#p5094</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>I&#39;m going mad trying to figure out why this does not work:</p>
<p>var last_row;<br />..........<br />beforeSelectRow: function(rowid) {<br />&#160;if(last_row == rowid) {alert("same row!");}<br />else{<br />&#160; // restore last row if there is one<br />&#160; if(last_row) jQuery("grid").setCell(last_row,&#39;name&#39;,&#39;theName&#39;,&#39;&#39;,&#39;&#39;);<br />}</p>
<p>My problem is that last_row doesn&#39;t work in the setCell()-function. If i hard code it to be for example 6, it does work. It doesn&#39;t help to use parseInt(last_row). If I alert last_row, I do get the right number..</p>
<p>I don&#39;t understand what the problem is. I can see the number in the alert, if I hardcode the same one it does work, but never with the variable even if it&#39;s the same !? 😐</p>
<p>Thanks in advance for any help 🙂</p>
]]></description>
        	        	<pubDate>Tue, 03 Mar 2009 15:56:44 +0200</pubDate>
        </item>
</channel>
</rss>