<?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: Double posts</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/double-posts</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/double-posts/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Double posts</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/double-posts#p5614</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/double-posts#p5614</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do not understand what you mean for double post ( you have two post requests or the values are doubled), but the args array that you return is extended every time with the values from the cell contents when you save it.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 26 Mar 2009 03:12:12 +0200</pubDate>
        </item>
        <item>
        	<title>decodeideas on Double posts</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/double-posts#p5565</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/double-posts#p5565</guid>
        	        	<description><![CDATA[<p>Tony,</p>
</p>
<p>Thanks for your reply. Here is what I do in that function, table is my own datastructure.</p>
<p><input type='button' class='sfcodeselect' name='sfselectit9770' value='Select Code' data-codeid='sfcode9770' /></p>
<div class='sfcode' id='sfcode9770'>
<p>beforeSubmitCell: &#160;function (row, col, val, iRow, iCol) {</p>
<p>&#160;&#160; var fieldName = table.dictionary[iRow-1].D;</p>
<p><span> </span> &#160; &#160;// calculate the date</p>
<p><span> </span> &#160; &#160;var splits = table.startTime.split("-");</p>
<p><span> </span> &#160; &#160;var month = parseInt(splits[1]) + iCol -1;</p>
<p><span> </span> &#160; &#160;var year = parseInt(splits[0]);</p>
<p><span> </span> &#160; &#160;if ( month &#62; 12 ) {</p>
<p><span> </span> &#160; &#160; &#160; &#160;year = year + 1;</p>
<p><span> </span> &#160; &#160; &#160; &#160;month = month - 12;</p>
<p><span> </span> &#160; &#160;}</p>
<p><span> </span> &#160; &#160;var args = { method: &#39;save&#39;, val: val, fieldName: fieldName, dateName: year + "-" + month + "-01" };</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;return args;</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160;},</p>
</div>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 09:38:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Double posts</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/double-posts#p5559</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/double-posts#p5559</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>What you do in beforeSubmitCell event?</p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 04:49:09 +0200</pubDate>
        </item>
        <item>
        	<title>decodeideas on Double posts</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/double-posts#p5539</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/double-posts#p5539</guid>
        	        	<description><![CDATA[</p>
<p>I am using jqGrid 3.4.3 with the following setup</p>
<p><input type='button' class='sfcodeselect' name='sfselectit2278' value='Select Code' data-codeid='sfcode2278' /></p>
<div class='sfcode' id='sfcode2278'>
<p>cellEdit: true,</p>
<p><span> </span>cellurl: "/blah/ blah",</p>
<p><span> </span>cellsubmit: &#39;remote&#39;,</p>
<p><span> </span>beforeSubmitCell: &#160;function (row, col, val, iRow, iCol) {...}</p>
</div>
<p>I am getting double POST for each cell that I edit. I am moving to the next cell with TAB. Has anybody else seen this, any idea what I can try?</p>
</p>
<p>Thanks!</p></p>
]]></description>
        	        	<pubDate>Tue, 24 Mar 2009 00:32:55 +0200</pubDate>
        </item>
</channel>
</rss>