<?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: editCell + afterSaveCell + move to next</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next</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/editcell-aftersavecell-move-to-next/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Romyn on editCell + afterSaveCell + move to next</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next#p7955</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next#p7955</guid>
        	        	<description><![CDATA[<p>Thanks Tony - that seems to have done the trick <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
</p>
<p>Regards</p>
<p>Romyn</p>
]]></description>
        	        	<pubDate>Wed, 22 Jul 2009 03:41:23 +0300</pubDate>
        </item>
        <item>
        	<title>tony on editCell + afterSaveCell + move to next</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next#p7946</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next#p7946</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Try this:</p>
<p>afterSaveCell: function (rowid,name,val,iRow,iCol){<br />&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;setTimeout( function() { $(&#8221;#grid_2&#8243;).editCell(&#8221;1&#8243;, &#8220;2&#8243;, true,true);},50)<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 22 Jul 2009 01:12:09 +0300</pubDate>
        </item>
        <item>
        	<title>Romyn on editCell + afterSaveCell + move to next</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next#p7929</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/editcell-aftersavecell-move-to-next#p7929</guid>
        	        	<description><![CDATA[<p>Hi,</p>
</p>
<p>I have a couple of grids (both based on local arrays). When I add a new row to the first grid I populate the second with a numbers of rows of which one column is blank. I then use a editCell call to take the user to the first row in the second grid to enter a value.</p>
</p>
<p>$("#grid_2").editCell("0", "2", true,true);</p>
</p>
<p>That works fine.</p>
</p>
<p>What I want to do, and the bit I&#39;m having trouble with, is that when the user has entered a value I want to move them down to edit the cell below (same col, row+1) and carry on doing this until they&#39;ve done so for all rows.</p>
</p>
<p>I&#39;m trying to do this in the afterSaveCell function - but it doesn&#39;t work. While I thought this might be due to some issue of how I add 1 to the row it doesn&#39;t work either if I do it this way...</p>
</p>
<p>afterSaveCell: function (rowid,name,val,iRow,iCol){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; $("#grid_2").editCell("1", "2", true,true);<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }</p>
</p>
<p>Any ideas as to what I&#39;m doing wrong?</p>
</p>
<p>Thanks</p>
<p>Romyn</p>
]]></description>
        	        	<pubDate>Mon, 20 Jul 2009 18:27:26 +0300</pubDate>
        </item>
</channel>
</rss>