<?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: CellEdit Oddity</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/celledit-oddity</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/bugs/celledit-oddity/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>alphadog on CellEdit Oddity</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/celledit-oddity#p23240</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/celledit-oddity#p23240</guid>
        	        	<description><![CDATA[<p>UPDATE: The early event triggering seems to happen in both IE8 and FF4. For some reasoin, although I was getting two alert notices in FF4, I cannot reproduce that behavior. Also, in both cases, seems like no params are being pased in.</p>
</p>
<p><em>PREVIOUS COMMENT WAS: Actually, to add: IE8 fires once when entering the cell, before the text gets converted to a textbox. In FF4, you get that incorrect behavior and also the apparently more timely post-edit. So, IE8 does it once at the wrong time, and FF4 does it twice, once wrong. (And, in all cases, all params like celname are undefined.)</em></p>
]]></description>
        	        	<pubDate>Wed, 18 May 2011 19:14:02 +0300</pubDate>
        </item>
        <item>
        	<title>alphadog on CellEdit Oddity</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/celledit-oddity#p23237</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/celledit-oddity#p23237</guid>
        	        	<description><![CDATA[<p>I have a column defined as:</p>
<p>{ name: &#39;cnfamt&#39;, index: &#39;cnfamt&#39;, classes:&#39;yellow&#39;, align: &#39;right&#39;, sorttype: &#39;currency&#39;, <br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;formatter: &#39;currency&#39;, <br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;formatoptions: { decimalSeparator: ".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "$"}, <br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; editable: true,<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;editoptions:{<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;beforeSubmitCell : function(rowid,celname,value,iRow,iCol) {<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;alert(rowid + &#39;/&#39; + celname + &#39;/&#39; + value + &#39;/&#39; + iRow + &#39;/&#39; + iCol);<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}<br /> &#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}</p>
</p>
<p>What I want is that, before the cell  value gets posted, I want to add a value into the posted data set. Currently it posts the column  name, the value and the row id, but I need to add the record id, which  is stored as a value in another column (hidden) of the same row.</p>
<p>So, I  hang a fucntion off the beforeSubmitCell event, but it seems to fire at  the wrong time. It fires when the cell gets into edit mode, not when the  cell is edited by the user and the return key is then pressed. Also,  all five parameters come in as undefined in the alert().</p>
<p>Comments?</p>
]]></description>
        	        	<pubDate>Wed, 18 May 2011 18:32:35 +0300</pubDate>
        </item>
</channel>
</rss>