<?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: Where do I add afterSubmit when using form editing (editGridRow)?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow</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/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21983</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21983</guid>
        	        	<description><![CDATA[<p>Man!&#160;<strong>You want&#160;</strong>to help people, don&#39;t you?&#160;<strong>You answered</strong> my question, didn&#39;t you? Thanks for your help actually!</p>
<p>I thought it is easy to implement callback function in official demo sample, it is just couple rows of code!</p>
<p>You asking me to prepare a small project just because you can&#39;t spent half a minute to try to understand what I meant?</p>
<p>Yes, I know mate that you are user like me, and even Tony is developer - so what?</p>
<p>What is the difference between GNU or MTI project developer and forum user, hm?</p>
<p>Let&#39;s be polite to <strong>each other</strong> and be respectfully to the whole project, not just to you, ok?</p>
<p>br bro</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 15:48:08 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21980</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21980</guid>
        	        	<description><![CDATA[<p>I am a user like you (see my status as "Member" like youth and "Moderator" like th status of the developer of jqGrid Tony)!</p>
<p><strong>You want</strong> to use a free open source software and <strong>you want</strong> that someone who also use tha same software help you. If you wait for sombody in the world help to solve your problem for free you should be polite and prepare your problem so that other, who decide help you, could at least easy reproduce your problem. See for example questions from other people or look at my answers where I post frequently a link for a working solution.</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 14:41:19 +0200</pubDate>
        </item>
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21978</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21978</guid>
        	        	<description><![CDATA[<p>Man, it is wierd code from official demo, it&#39;s not mine! Can&#39;t believe it is difficult for YOU to understand and reproduce it!</p>
<p>Please clarify - do you need all of my solution files or what part of it?</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 14:13:48 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21977</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21977</guid>
        	        	<description><![CDATA[<p>Hello mojopower,</p>
<p>I have no source code of the demo side. I have no time to create a demo code which reproduce your problem. So if you want that I help you, you should post <strong>the full</strong> code which can be used to reproduce the descrided problem.</p>
<p>Oleg</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 13:28:29 +0200</pubDate>
        </item>
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21975</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21975</guid>
        	        	<description><![CDATA[<p>Oleg, please take a look at "Row Editing" -&#62; "Custom Edit" sample at <a rel="nofollow" href="/blog/jqgrid/jqgrid.html" target="_blank"></a><a href="http://www.trirand.com/blog/jq" rel="nofollow" target="_blank">http://www.trirand.com/blog/jq</a>.....qgrid.html</p>
<p>Here is the exotical code, starting with "onclick=" and sample, where the afterSubmit is called once only &#8211; first time you click submit with any options.</p>
<p>Please, try &#8211; i used this sample to reproduce the behavior.</p>
<p>-- my code --</p>
<p>onclick="jQuery(&#39;#list&#39;).jqGrid(&#39;editGridRow&#39;, &#39;" + cl + "&#39;, {recreateForm: true, reloadAfterSubmit:true, modal: false, closeAfterAdd:true, closeAfterEdit:true, afterSubmit:function(response) { clientCallBack(response) } });"<br />...<br />&#60;script language="javascript" type="text/javascript"&#62;<br /> function clientCallBack(serverArgs) {<br /> alert(&#39;Just once!&#39;);<br /> }<br />&#60;/script&#62;</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 12:47:12 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21973</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21973</guid>
        	        	<description><![CDATA[<p>Sorry mojopower, but what you posted is not a code which can be used to reproduce your problem. It should be full JavaScript and full HTML code. At least one row of data which should be edited is also required to reproduce your problem. If you want that somebody help you you should reduce the work of your helper. Moreover many effects exist only together with the usage of some other things. In general <strong>afterSubmit</strong> are called not once (I have many examples where it work correct). So one need your code having the problem.</p>
<p>One thing I don&#39;t understand absolutly from your last post. &#160;Why your code start with "onclick="? I suppose that you try to use the feature in absolutely exotical way.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 11:40:21 +0200</pubDate>
        </item>
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21970</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21970</guid>
        	        	<description><![CDATA[<p>Hmm, actually no change in behavior! For this code:</p>
<p>onclick="jQuery(&#39;#list&#39;).jqGrid(&#39;editGridRow&#39;, &#39;" + cl +"&#39;, {recreateForm: true, reloadAfterSubmit:true, modal: false, closeAfterAdd:true, closeAfterEdit:true, afterSubmit:function(response) { clientCallBack(response) } });</p>
<p>"clientCallBack(response)" was called only once - when "save" button was pressed for the first time.</p>
<p>How to check form values for all others savings not only first? Or what I&#39;m doing wrong please?</p>
]]></description>
        	        	<pubDate>Mon, 07 Feb 2011 08:17:03 +0200</pubDate>
        </item>
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21954</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21954</guid>
        	        	<description><![CDATA[<p>Thanks for your attention Oleg!</p>
<p>It looks like you understand and solved my problem, but I only can check the solution at Monday <img class="spSmiley" style="margin:0" title="Laugh" src="/blog/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Sat, 05 Feb 2011 10:36:34 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21948</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21948</guid>
        	        	<description><![CDATA[<p>Probebly you should use <strong>recreateForm:true</strong>&#160;as additional parameter for both Add and Edit forms.</p>
<p>If you don&#39;t use the parameter the Add and Edit dialogs will be shared and created only once. Next the gialog will be not destroyed and recreated every time. Instead of that the dialog will be only hidden/shown. It follows to many side effects. I created <a href="/blog/?page_id=393/feature-request/change-default-settings-for-recreatefilter-and-recreateform-to-true/" target="_blank">the feature request</a>&#160;with the suggestion to change the default value from <strong>recreateForm:false</strong>&#160;to <strong>recreateForm:true</strong>.</p>
<p>If the setting will not help you you should post the full code example which can be used to reproduce the problem.</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 04 Feb 2011 20:04:24 +0200</pubDate>
        </item>
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21942</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21942</guid>
        	        	<description><![CDATA[<p>And one more question is why in this case</p>
<p>{reloadAfterSubmit:true, closeAfterAdd:true, afterSubmit : function(response, postdata) { alert(response.responseText); }</p>
<p>afterSubmit function called just once - for the first save. How to force it to call on every save event?</p>
<p>Appreciate any help</p>
]]></description>
        	        	<pubDate>Fri, 04 Feb 2011 11:59:31 +0200</pubDate>
        </item>
        <item>
        	<title>mojopower on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21940</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p21940</guid>
        	        	<description><![CDATA[<p>Just what I need Tony, thanks!!! BTW, in new notation it will be</p>
<p>jQuery("#rpsrgrid").jqGrid(&#39;editGridRow&#39;, &#39;new&#39;, &#8230;.</p>
<p>But what if I would like to call en external function from here?</p>
<p>How to make that?</p>
<p>I&#39;ve got both edit buttons - in row and in footer.</p>
<p>It&#39;s ok when calling external function from footer, but it doesn&#39;t work when we using described method</p>
]]></description>
        	        	<pubDate>Fri, 04 Feb 2011 09:59:23 +0200</pubDate>
        </item>
        <item>
        	<title>hankhepler on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p4159</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p4159</guid>
        	        	<description><![CDATA[<p>Thanks Tony. I figured it out this weekend. I have also been using firePHP in conjunction with Firebug to debug the modal AJAX stuff within the grid, they helped me see what was being posted.</p>
<p>Regards,</p>
<p>H</p>
]]></description>
        	        	<pubDate>Mon, 26 Jan 2009 14:10:32 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p4028</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p4028</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Maybe this will help:</p>
<p>jQuery(&#8221;#rpsrgrid&#8221;).editGridRow(&#8221;new&#8221;,</p>
<p>{height:180,</p>
<p>reloadAfterSubmit:true,</p>
<p>closeAfterAdd:true,</p>
<p>afterSubmit : function() {</p>
<p>// your code goes here</p>
<p>}</p>
<p>});</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 19 Jan 2009 02:44:57 +0200</pubDate>
        </item>
        <item>
        	<title>hankhepler on Where do I add afterSubmit when using form editing (editGridRow)?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p3975</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/where-do-i-add-aftersubmit-when-using-form-editing-editgridrow#p3975</guid>
        	        	<description><![CDATA[<p>Trying to use a couple of examples in the forum to have some basic error checking. Does anyone have an example of catching server errors when inserting data? Any help, examples, posts will help.</p>
<p>partial code:</p>
<p>$("#adddata").click(function(){ jQuery("#rpsrgrid").editGridRow("new",{height:180,reloadAfterSubmit:true, closeAfterAdd:true})<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; afterSubmit : function checksave(result) {....}</p>
<p>Noting happens now, just want to make sure I can debug and/or provide error control.</p>
]]></description>
        	        	<pubDate>Wed, 14 Jan 2009 14:30:53 +0200</pubDate>
        </item>
</channel>
</rss>