<?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: beforeEditCell</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/beforeeditcell</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/beforeeditcell/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>james_ on beforeEditCell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p5033</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p5033</guid>
        	        	<description><![CDATA[<p>Nobody knows if this is possible?</p>
<p>I basically want to decide the value of the input showing up in the cell, and alter the value before saving it (last part should be OK I think..</p>
]]></description>
        	        	<pubDate>Sat, 28 Feb 2009 18:51:17 +0200</pubDate>
        </item>
        <item>
        	<title>james_ on beforeEditCell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p4907</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p4907</guid>
        	        	<description><![CDATA[<p>Thanks Tony,</p>
<p>I understand this, but I want to decide the value of the input-element when the user clicks a cell, and also do something with when he saves. Example:</p>
<p>Value of cell&#160; = 12 monkeys<br />User click on cell, and gets &#60;input name="id-celll" type="text" value="12" /&#62;<br />User hits enter to save "13" and the new cell value = 13 monkeys</p>
<p>I can store the two values in separate tags to be able to identify them. Example:<br />&#60;span id="number"&#62;12&#60;/span&#62; &#60;span id="text"&#62;monkeys&#60;/span&#62;</p>
<p>I know I can use two cells but I really can&#39;t do that in this case.</p>
]]></description>
        	        	<pubDate>Tue, 24 Feb 2009 11:34:38 +0200</pubDate>
        </item>
        <item>
        	<title>tony on beforeEditCell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p4878</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p4878</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Use beforeEditCell to get the value of the cell before editing. Store this in variable and then use beforeSaveCell to go back to original value - if I understand right.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 24 Feb 2009 08:07:07 +0200</pubDate>
        </item>
        <item>
        	<title>james_ on beforeEditCell</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p4829</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/beforeeditcell#p4829</guid>
        	        	<description><![CDATA[<p>Hi!</p>
<p>Sorry but I don&#39;t quite understand how this one works..<br />beforeEditCell: function(id,name,val,iRow,iCol){</p>
<p>What I want to do is</p>
<p>1. Someone wants to edit a cell, and either clicks on it, uses enter or whatever<br />2. Before they get to edit the value, I want to change it using some logic (let&#39;s say it&#39;s a suggestion or something).<br />3. After they have decided what to save, I want to store that in the cell using afterSubmitCell or whatever, perhaps changing the value yet another time.</p>
<p>I&#39;ve tried various approaches but it doesn&#39;t work :/ Am I able to control the editing this way?</p>
<p>I&#39;ve tried return {val:&#39;test&#39;}; and such things like the other events use..</p>
<p>Btw everything is written locally to grid, no server involved here..</p>
]]></description>
        	        	<pubDate>Mon, 23 Feb 2009 03:04:14 +0200</pubDate>
        </item>
</channel>
</rss>