<?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: celledit- submit without pressing enter</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter</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/celledit-submit-without-pressing-enter/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>sudheerys on celledit- submit without pressing enter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter#p22871</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter#p22871</guid>
        	        	<description><![CDATA[<p>Thanks for the suggestion, but saveRow works for inline editing, as far as I know, not for cell edit.&#160;</p>
<p>Anyways, I solved my problem. I am giving the approach here for others:</p>
<p>1. declare two global variables irow and icol</p>
<p>2. in beforeeditcell set them to the row and col that is passed into the function</p>
<p>3. in aftersavecell, set irow and icol to 0(this is is when the user presses enter after editing)</p>
<p>4. in the click function of the save button, if the row and col are not 0 call the savecell using the irow and icol.</p>
</p>
<p>Thanks</p>
<p>Sudheer</p></p>
]]></description>
        	        	<pubDate>Tue, 19 Apr 2011 21:53:30 +0300</pubDate>
        </item>
        <item>
        	<title>mascott on celledit- submit without pressing enter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter#p22808</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter#p22808</guid>
        	        	<description><![CDATA[<p>try this</p>
<p>onclick="jQuery(&#39;#your_id&#39;).jqGrid(&#39;saveRow&#39;, id);"</p>
<p>or this for cancel editing</p>
<p>onclick="jQuery(&#39;#list&#39;).jqGrid(&#39;restoreRow&#39;, id);"</p>
]]></description>
        	        	<pubDate>Sat, 16 Apr 2011 15:07:54 +0300</pubDate>
        </item>
        <item>
        	<title>sudheerys on celledit- submit without pressing enter</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter#p22788</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/celledit-submit-without-pressing-enter#p22788</guid>
        	        	<description><![CDATA[<p>Hi all,&#160;</p>
<p>&#160;&#160; &#160; I have a jqgrid which has celledit enabled and a save button on my toolbar. Currently users have to enter a value in the field (in the grid) and then press enter before they can hit save. Failing to do so, instead of the value entered in the grid cell, the HTML code is being submitted(default behaviour of cell edit - confirm by hitting enter or cancel by hitting escape).</p>
<p>&#160;&#160; &#160;Can I change this behaviour to submit the cell even if the user does not hit enter key. The moment user hits the save button the currently edited cell needs to be confirmed and the value needs to be submitted.</p>
<p><span style="white-space: pre;"> </span>I am using jqgrid 3.8</p>
<p>Thanks in advance</p>
<p>Sudheer</p>
]]></description>
        	        	<pubDate>Thu, 14 Apr 2011 22:10:36 +0300</pubDate>
        </item>
</channel>
</rss>