<?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: beforeSubmitCell Appends or Replaces Parameters?</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters</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/beforesubmitcell-appends-or-replaces-parameters/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>dandiebolt on beforeSubmitCell Appends or Replaces Parameters?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters#p8319</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters#p8319</guid>
        	        	<description><![CDATA[<p>I think you meant</p>
<p style="padding-left: 30px;">cellsubmit: &#39;clientArray&#39;,</p>
<p>and with this change and using afterSaveCell to make my own AJAX call it worked perfectly!</p>
<p>Thanks!</p>
]]></description>
        	        	<pubDate>Thu, 06 Aug 2009 11:32:14 +0300</pubDate>
        </item>
        <item>
        	<title>tony on beforeSubmitCell Appends or Replaces Parameters?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters#p8306</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters#p8306</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>If you want custom post use</p>
<p>cellurl: &#39;clientArray&#39;</p>
<p>and maybe you can use afterSaveCell event with your own ajax to post data.</p>
<p><a href="http://www.trirand.com/jqgridwiki/doku.php?id=wiki:cell_editing" rel="nofollow" target="_blank"><a href="http://www.trirand.com/jqgridw" rel="nofollow">http://www.trirand.com/jqgridw</a>.....ll_editing</a></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 06 Aug 2009 10:16:18 +0300</pubDate>
        </item>
        <item>
        	<title>dandiebolt on beforeSubmitCell Appends or Replaces Parameters?</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters#p8289</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforesubmitcell-appends-or-replaces-parameters#p8289</guid>
        	        	<description><![CDATA[<p>I just started using the jQuery Grid plugin and I am having great success populating my grid and posting back data to a server running a proprietary API.</p>
<p>The one problem I am having is that I when Cell Editing I am posting back to my server extra parameters. The API I am using requires a record id parameter (rid) and the name of the field prefixed with "_fnm_". So if the name of the field I am posting is "lastname" I need to send this set of parameters</p>
<p>&#38;rid=1&#38;_fnm_lastname=Ferrells</p>
<p>I accomplish this by using the method beforeSubmitCell(rowid,cellname,value, iRow,iCol)</p>
<p>The parameters that are actually being set are the id and field name as defined in colModel in addition to the parameters I add by calling beforeSubmitCell(...). The parameter string look like this:</p>
<p>&#38;rid=1&#38;_fnm_lastname=Ferrells&#38;lastname=Ferrells&#38;id=1</p>
<p>My server is simply ignoring "lastname" and "id" and correcting updating the server database based on the parameters "rid" and "_fnm_lastname".</p>
<p>How can I configure jQuery Grid to not set the default id and field name "lastname" and only send what I return from beforeSubmitCell()? The nmethod beforeSubmitCell() seems to be *appending* additional parameters to the URL and not *replacing* the default parameters. I hope this is clear as I have scoured the documentation and forum without finding an answer.</p>
]]></description>
        	        	<pubDate>Wed, 05 Aug 2009 22:10:46 +0300</pubDate>
        </item>
</channel>
</rss>