<?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: Error in the inline edit examples</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-in-the-inline-edit-examples</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/error-in-the-inline-edit-examples/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Error in the inline edit examples</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-in-the-inline-edit-examples#p13944</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-in-the-inline-edit-examples#p13944</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Thanks. I will check this. Checking of id is recommended since there can be possible that the row has no id set&#160; or bad one.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 15 Jan 2010 18:42:19 +0200</pubDate>
        </item>
        <item>
        	<title>mchojrin on Error in the inline edit examples</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/error-in-the-inline-edit-examples#p13919</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/error-in-the-inline-edit-examples#p13919</guid>
        	        	<description><![CDATA[<p>Hi:</p>
</p>
<p>&#160; I just run into a problem by following the example of inline editing. The problem appeared when testing for IE7 compatibility of my application. When I tried an inline editing I got an "Invalid argument" error, after checkin it, I realized that there was an undefinition of rowId. Anyway, I think you should update the examples to use something like:</p>
</p>
<p>if(id &#38;amp;&#38;amp; id!==lastsel2){</p>
<p>&#160; <span style="color: #ff0000;">if (lastsel2)</span></p>
<p>&#160;&#160;&#160;&#160;&#160;&#160; jQuery(&#39;#rowed5&#39;).jqGrid(&#39;restoreRow&#39;,lastsel2);</p>
<p>&#160;&#160; jQuery(&#39;#rowed5&#39;).jqGrid(&#39;editRow&#39;,id,true); 			lastsel2=id;</p>
<p>}</p>
</p>
<p>Instead of just:</p>
</p>
<p>if(id &#38;amp;&#38;amp; id!==lastsel2){</p>
<p>&#160; jQuery(&#39;#rowed5&#39;).jqGrid(&#39;restoreRow&#39;,lastsel2);</p>
<p>&#160; jQuery(&#39;#rowed5&#39;).jqGrid(&#39;editRow&#39;,id,true); 			lastsel2=id;</p>
<p>}</p>
</p>
<p>Again, it&#39;ll work fine in FF, Chrome and IE 8, but it&#39;ll crash on IE 7. Besides, it doesn&#39;t hurt to have this variable checked for != null, that&#39;s the case when there hasn&#39;t been any prior selection.</p>
</p>
<p>Hope this helps.</p>
</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Thu, 14 Jan 2010 22:23:12 +0200</pubDate>
        </item>
</channel>
</rss>