<?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: saveRow after setCell</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/saverow-after-setcell</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/saverow-after-setcell/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>newspire on saveRow after setCell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/saverow-after-setcell#p5135</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/saverow-after-setcell#p5135</guid>
        	        	<description><![CDATA[<p>I have an inline editing grid with a json back end.&#160; That all works fine.&#160; However, if a cell is changed via setCell a call to saveRow does not trigger a call to the editurl.&#160; The cell changes in the grid, but the change does not get saved back to the server.&#160; Is there a way to force a row save to the server?</p>
<p>function onMoveRowDown(eventObject)<br />{<br />&#160;&#160;&#160; var sr = jQuery("#pt_grid").getGridParam("selrow");<br />&#160;&#160;&#160; if( sr != null )<br />&#160;&#160;&#160; {&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var order = jQuery("#pt_grid").getCell(sr,&#39;order&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; order = parseInt(order) + 1;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#pt_grid").setCell(sr,&#39;order&#39;,order); &#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#pt_grid").saveRow(sr, successfunc=saveRowSuccess, url=null, extraparam = {&#39;order&#39;: order});&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; }<br />&#160;&#160;&#160; else<br />&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; alert("Please Select Row");<br />&#160;&#160;&#160; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />}</p>
</p>
<p>Thanks!</p>
<p>Andy</p>
]]></description>
        	        	<pubDate>Thu, 05 Mar 2009 15:44:17 +0200</pubDate>
        </item>
</channel>
</rss>