<?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: Custom saving</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/custom-saving</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/custom-saving/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>OlegK on Custom saving</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20928</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20928</guid>
        	        	<description><![CDATA[<p>Hi Luc,</p>
<p>If you use &#39;clientArray&#39; as the url almost nothing will happened during the saving. Only the&#160;corresponding&#160;<strong>local</strong> row will be modified in the jqGrid with respect of setRowData method. So you can do yourself any ajax requests and make any local modifications in the jqGrid additionally.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Sat, 20 Nov 2010 22:17:52 +0200</pubDate>
        </item>
        <item>
        	<title>luc on Custom saving</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20927</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20927</guid>
        	        	<description><![CDATA[<p>Hi Oleg,</p>
<p>I&#39;ve seen aftersavefunc, but unfortunately it happens too late. I need an event that is capable of canceling the edit if save is not successful (I think onsuccessfunc allows you to return false, thus preventing and restoring edit, but it fires only when using ajax).</p>
<p>Anyway, thanks for input</p>
<p>Luc</p>
]]></description>
        	        	<pubDate>Sat, 20 Nov 2010 22:03:04 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Custom saving</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20926</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20926</guid>
        	        	<description><![CDATA[<p>Hello Luc,</p>
<p>it seems to me that you can implement your&#160;requirements&#160;using <strong>aftersavefunc</strong> parameter of the <a href="/jqgridwiki/doku.php?id=wiki:inline_editing#editrow" target="_blank">editRow</a> function:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit337' value='Select Code' data-codeid='sfcode337' /></p>
<div class='sfcode' id='sfcode337'>
<p>var aftersavefunc = function (rowid,isModifiedBySetRowData) {<br />// do you custom saving action<br />};<br />$(&#34;list&#34;).jqGrid(&#39;editRow&#39;, id, true, null, null, &#39;clientArray&#39;,{},aftersavefunc);</p>
</div>
<p>Best regards</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Sat, 20 Nov 2010 21:32:17 +0200</pubDate>
        </item>
        <item>
        	<title>luc on Custom saving</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20925</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/custom-saving#p20925</guid>
        	        	<description><![CDATA[<p>Is there a way to have my own saving procedure when using inline editing? I&#39;m loading data manually and would also like to save it through my own function (preferably so, that I can cancel the save to grid if something goes wrong).</p>
]]></description>
        	        	<pubDate>Sat, 20 Nov 2010 19:45:18 +0200</pubDate>
        </item>
</channel>
</rss>