<?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: Edit row unselected</title>
	<link>http://www.trirand.com/blog/?page_id=393/discussion/edit-row-unselected</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/discussion/edit-row-unselected/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Edit row unselected</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/edit-row-unselected#p8861</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/edit-row-unselected#p8861</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Please look carefully into your code - what you have after saveRow? - triggering the grid - this causes your problem</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 21 Aug 2009 02:08:37 +0300</pubDate>
        </item>
        <item>
        	<title>hajcu on Edit row unselected</title>
        	<link>http://www.trirand.com/blog/?page_id=393/discussion/edit-row-unselected#p8837</link>
        	<category>Discussion</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/discussion/edit-row-unselected#p8837</guid>
        	        	<description><![CDATA[<p>I create griw with this colmodel</p>
<p>&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160; {name:&#39;data1&#39;, index:&#39;data1&#39;, width:70, editable:false, edittype:&#39;text&#39;, editrules:{required:true}, resizable: false},<br />&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;data2&#39;, index:&#39;data2&#39;, width:110, editable:true, edittype:&#39;select&#39;, editoptions: { dataUrl: &#39;ajax_data2.php&#39; }, editrules:{required:true}, resizable: false},</p>
<p>&#160;&#160;&#160;&#160;&#160; {name:&#39;data3&#39;, index:&#39;data3&#39;, width:100, editable:true, edittype:&#39;select&#39;, editoptions: { dataUrl: &#39;ajax_fuel.php&#39; }, editrules:{required:true}, resizable: false},</p>
<p>{name:&#39;data4&#39;, index:&#39;data4&#39;, width:100, align:&#39;right&#39;, editable:true, edittype:&#39;text&#39;, editoptions: {size: 15, maxlength: 15,defaultValue: function(){ return &#39;0&#39;;}}, editrules:{number:true, minValue: 1, required:true}, resizable: false, formatter:&#39;number&#39;},<br />&#160;&#160;&#160;&#160; ...</p>
<p>Also i have this function to onselectrow event to save last edited row</p>
<p>&#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160;&#160; &#160;&#160;&#160; if(id &#38;&#38; id!==lastsel2){<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; jQuery(&#39;#list&#39;).saveRow(lastsel2).trigger("reloadGrid");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; lastsel2=id;<br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; },</p>
</p>
<p>When i edit inline some row, and for example the data in data4 are incorect for example 0, i see error modal box Data4: Field is required.</p>
<p>Unfortunetly after this last edit line was unselected and go to normal mode. Is it possible to stay row in edit mode, until the data in the row are correct, and it can be saved in grid and ajax?</p>
]]></description>
        	        	<pubDate>Thu, 20 Aug 2009 04:33:23 +0300</pubDate>
        </item>
</channel>
</rss>