<?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: problem form editing for ClientArray</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray</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/problem-form-editing-for-clientarray/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on problem form editing for ClientArray</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p13428</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p13428</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can do it without any cahges into the code.</p>
<p>You will need just to create a dummy empty file on the server and set the editurl to this file and you will have the desired result.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 29 Dec 2009 16:54:30 +0200</pubDate>
        </item>
        <item>
        	<title>Roman on problem form editing for ClientArray</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p13415</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p13415</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Are there any news on this feature?&#160; I&#39;m also trying to use form editing with client side data, if I understand correctly this is unsupported for now?</p>
</p>
<p>Thanks,</p>
<p>Roman</p>
]]></description>
        	        	<pubDate>Tue, 29 Dec 2009 14:33:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on problem form editing for ClientArray</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p6158</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p6158</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>clientArray does not work in form editing instead. You can try to set reloadAfterSubmit:false, but I&#39;m not sure that this will help. I&#39;m currently develop a various type of submiting&#160; - serverside, clientArray, custom function in all editing modules.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 20 Apr 2009 06:34:37 +0300</pubDate>
        </item>
        <item>
        	<title>webedge on problem form editing for ClientArray</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p6123</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/problem-form-editing-for-clientarray#p6123</guid>
        	        	<description><![CDATA[<p>Hello all,</p>
<p>I&#39;m trying to use the grid in an adobe Air application that may run without a web server or an internet connection. So I&#39;m loading the data into the grid from an XML file and using Form Editing. When I submit the Add, Edit or Delete I don&#39;t want a server Post just update the grid and I&#39;ll handle saving to the XML file myself. To do this I&#39;ve got URL and EditURL&#160;set to ClientArray.</p>
<p>What is happening is that the form comes up and functions ok except when I hit the submit button. The onlickSubmit and beforeSubmit events fire ok and the &#39;Processing...&#39; label appears but then nothing. It doesn&#39;t come back from the Post and refresh the grid.</p>
</p>
<p>Here&#39;s the code</p>
<p align="left">&#160;</p>
<p><strong><span style="font-size: x-small;">&#60;table id="list" class="scroll"&#160; cellpadding="0" cellspacing="0"&#62;&#60;/table&#62;<br />&#60;div id="pager" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;<br />&#60;input type="BUTTON" id="adddata" value="Add password" /&#62;&#60;input type="BUTTON" id="bedata" value="Edit Selected" /&#62;&#60;input type="BUTTON" id="dedata" value="Delete Selected" /&#62;</span></strong></p>
<p><strong></strong></p>
<p><strong><span style="font-size: x-small;">&#60;script type="text/javascript"&#62;<br />&#160;var mystr = readXMLFile();<br />&#160;</span></strong></p>
<p><strong><span style="font-size: x-small;">&#160; jQuery("#list").jqGrid({<br />&#160; &#160;<a href="&#39;clientArray&#39;" target="_blank">url:&#39;clientArray&#39;</a>,<br />&#160; &#160;editurl:&#39;clientArray&#39;,<br />&#160;&#160;&#160; datatype: &#39;xmlstring&#39;,<br />&#160;&#160;&#160; datastr : mystr,<br />&#160;&#160;&#160; colNames:[&#39;Site&#39;,&#39;Username&#39;, &#39;Cue&#39;],<br />&#160;&#160;&#160; colModel :[ <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;site&#39;, index:&#39;site&#39;, width:250, align: &#39;left&#39;, editable : true, required:true, sortable : true, editoptions:{size:25}}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;username&#39;, index:&#39;username&#39;, width:250, align: &#39;left&#39;, required:true, sortable : true,editable:true, editoptions:{size:25}}, <br />&#160;&#160;&#160;&#160;&#160; {name:&#39;cue&#39;, index:&#39;cue&#39;, width:250, align: &#39;left&#39;, required:true, sortable : true,editable:true, editoptions:{size:25}}, <br />&#160;],<br />&#160;&#160;&#160; pager: jQuery(&#39;#pager&#39;),<br />&#160;&#160;&#160; rowNum:10,<br />&#160;width:750,<br />&#160;sortname: &#39;site&#39;,<br />&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160; imgpath: &#39;themes/coffee/images&#39;,<br />&#160;&#160;&#160; caption: &#39;Password Reminders&#39;,<br />&#160;<br />&#160; }); <br />$("#dedata").click(function(){<br />&#160;var gr = jQuery("#list").getGridParam(&#39;selrow&#39;);<br />&#160;//getSelectedRow();<br />&#160;if( gr != null ) jQuery("#list").delGridRow(gr,{reloadAfterSubmit:true, caption:&#39;Delete Password&#39;,onclickSubmit:deletingData, afterSubmit:afterDelData,modal:true});<br />&#160;else alert("Please Select Row to delete!");<br />});<br />$("#bedata").click(function(){<br />&#160;var gr = jQuery("#list").getGridParam(&#39;selrow&#39;);<br />&#160;if( gr != null ) jQuery("#list").editGridRow(gr,{reloadAfterSubmit:true,modal:true, bSubmit: &#39;Save&#39;,closeAfterEdit:true});<br />&#160;else alert("Please Select Row");<br />});<br />$("#adddata").click(function(){<br />&#160;jQuery("#list").editGridRow("new",{reloadAfterSubmit:true, bSubmit: &#39;Save&#39;, closeAfterAdd:true});<br />&#160;<br />});</span></strong></p>
<p><strong><span style="font-size: x-small;">function afterDelData(){<br />&#160;alert ("done");<br />}<br />function deletingData(){<br />&#160;alert("done");<br />&#160;return true;<br />&#160;}<br />function editingData(dat){<br />&#160;return true;<br />}<br />&#60;/script&#62;</span></strong></p>
<p><strong><span style="font-size: x-small;">Any Idea?</span></strong></p>
<p><strong><span style="font-size: x-small;"></p>
<p></span></strong></p>
]]></description>
        	        	<pubDate>Thu, 16 Apr 2009 22:20:31 +0300</pubDate>
        </item>
</channel>
</rss>