<?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: in-line edit beforesave func</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func</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/in-line-edit-beforesave-func/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on in-line edit beforesave func</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29246</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29246</guid>
        	        	<description><![CDATA[<p>Helllo,</p>
</p>
<p>Look 7-8 line below this &#8211; something like this:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6673' value='Select Code' data-codeid='sfcode6673' /></p>
<div class='sfcode' id='sfcode6673'>
<p>var bfsr = $.isFunction( o.beforeSaveRow ) ?	o.beforeSaveRow.call($t,o, rowid) : undefined;</p>
<p>if( bfsr === undefined ) {</p>
<p>&#160; bfsr = true;</p>
<p>}</p>
<p>if(!bfsr) { return; }</p>
</div>
]]></description>
        	        	<pubDate>Wed, 31 Jul 2013 21:05:56 +0300</pubDate>
        </item>
        <item>
        	<title>nd on in-line edit beforesave func</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29245</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29245</guid>
        	        	<description><![CDATA[]]></description>
        	        	<pubDate>Wed, 31 Jul 2013 17:47:58 +0300</pubDate>
        </item>
        <item>
        	<title>nd on in-line edit beforesave func</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29244</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29244</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
</p>
<p>Looking at the source &#160;v 4.5.2 - jQuery Grid</p>
<p>the following inline is excuted $.fn.fmatter.rowactions = function(act) &#160;having&#160;</p>
<p>op ={</p>
<p>afterRestore: null,&#160;</p>
<p>onError: null,&#160;</p>
<p>afterSave: null,</p>
<p>onSuccess: null</p>
<p>onEdit: null</p>
<p>... }</p>
</p>
<p>could not see beforeSaveRow function avaliable ?&#160;</p>
</p>
<p>Thanks</p>
]]></description>
        	        	<pubDate>Wed, 31 Jul 2013 17:47:58 +0300</pubDate>
        </item>
        <item>
        	<title>tony on in-line edit beforesave func</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29243</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29243</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>There is a not documented event beforeSaveRow. If the event return true the save is ok if false the save&#160; is not performed.</p>
<p>It is recomended in this case to use the saveRow this way:</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit6795' value='Select Code' data-codeid='sfcode6795' /></p>
<div class='sfcode' id='sfcode6795'> jQuery(&#34;#grid_id&#34;).jqGrid(&#39;saveRow&#39;,rowid,  saveparameters);</div>
<p>where saveparameters<br />is object &#8211; i.e</p>
<p><input type='button' class='sfcodeselect' name='sfselectit3244' value='Select Code' data-codeid='sfcode3244' /></p>
<div class='sfcode' id='sfcode3244'>jQuery(&#34;#grid_id&#34;).jqGrid(&#39;saveRow&#39;,rowid,  {<br /> beforeSaveRow: function(options, rowid) { <br /> if(cond) {return true;} else {return false;}<br /> },<br /> &#8230;<br />} );</div>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 31 Jul 2013 14:07:48 +0300</pubDate>
        </item>
        <item>
        	<title>nd on in-line edit beforesave func</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29233</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/in-line-edit-beforesave-func#p29233</guid>
        	        	<description><![CDATA[<p>hi</p>
<p>Is there an func or way for for in-line editing to add custom func before saving. I want to do some precheck and then save if the data is correct.</p>
<p>There is an onaftersave event but be good to have a beforesave func inorder to stop post back to server, only if the data has change then post back to server.&#160;</p>
</p>
<p>Thanks</p>
<p>Andy</p>
]]></description>
        	        	<pubDate>Mon, 29 Jul 2013 23:44:19 +0300</pubDate>
        </item>
</channel>
</rss>