<?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: How to determine edit mode</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-determine-edit-mode</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/how-to-determine-edit-mode/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>akitson on How to determine edit mode</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-determine-edit-mode#p20776</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-determine-edit-mode#p20776</guid>
        	        	<description><![CDATA[<p>I have a select column which works fine.&#160; However I need to freeze the value if the user tries to edit the record.&#160; My strategy is to use a custom field type and determine what mode the edit form is in, i.e. if we are &#39;new&#39; (add) then display a selector else if editing a current record, display a readonly text box.</p>
<p>So the question is, how do I determine what edit mode we are in?&#160; I tried getGridParam(&#39;selrow&#39;); but that returns the currently selected row irrespective of if we are in add or edit.</p>
<p>Any help on this would be appreciated.</p>
</p>
<p>A</p>
]]></description>
        	        	<pubDate>Fri, 12 Nov 2010 14:56:00 +0200</pubDate>
        </item>
</channel>
</rss>