<?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: saving in inline edit do not work</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/saving-in-inline-edit-do-not-work</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/saving-in-inline-edit-do-not-work/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>djkuddel on saving in inline edit do not work</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/saving-in-inline-edit-do-not-work#p24600</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/saving-in-inline-edit-do-not-work#p24600</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I have this sourcecode but it does not save my new values</p>
<p>$("#grid").jqGrid({ url:&#39;url_to_send.php&#39;, datatype: "xml", height: 452, colNames:[&#39;Name&#39;, &#39;Description&#39;,&#39;id&#39;], colModel:[ {name:&#39;id&#39;,index:&#39;Name&#39;, width:250,editable:true,editoptions:{size:10}}, {name:&#39;Description&#39;,index:&#39;Description&#39;, width:500,editable:true,editoptions:{size:10}}, {name:&#39;ID&#39;,index:&#39;ID&#39;, width:10,hidden:true,key:true}], rowNum:10, rowTotal: 2000, rowList : [10,20], rownumbers: false, gridview: true, pager: &#39;#purl_to_send&#39;, sortname: &#39;Name&#39;, viewrecords: true, sortorder: "asc", caption: "", editurl:"url_to_send.php?add=true",onSelectRow: function(id) {<br />&#160; if (id) {<br />&#160;&#160;&#160; var grid = jQuery(&#39;#grid&#39;);<br />&#160;&#160;&#160; if(id !== lastsel) {<br />&#160;&#160;&#160;&#160;&#160; grid.saveRow(lastsel)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; .editRow(id, true);<br />&#160;&#160;&#160;&#160;&#160; lastsel = id;<br />&#160;&#160;&#160; }<br />&#160;&#160;&#160; else {<br />&#160;&#160;&#160;&#160;&#160; grid.saveRow(lastsel);<br />&#160;&#160;&#160;&#160;&#160; lastsel = -1;<br />&#160;&#160;&#160; }<br />&#160; }</p>
<p>}, cellurl: &#39;url_to_send?rows=10&#38;page=1&#39;, cellsubmit:&#39;remote&#39;, cellEdit: true }); &#160;&#160;&#160;</p>
<p>$("#grid").jqGrid(&#39;navGrid&#39;,&#39;#pgrid&#39;,{del:false,add:true,edit:false,search:false,cloneToTop:true});&#160;&#160;&#160;</p>
</p>
<p>can anyone help me?</p>
<p>Best regards,</p>
<p>DJ</p>
]]></description>
        	        	<pubDate>Tue, 13 Sep 2011 12:13:32 +0300</pubDate>
        </item>
</channel>
</rss>