<?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: jqGrid celledit under certain conditions</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-celledit-under-certain-conditions</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/jqgrid-celledit-under-certain-conditions/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>ethic on jqGrid celledit under certain conditions</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jqgrid-celledit-under-certain-conditions#p20859</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jqgrid-celledit-under-certain-conditions#p20859</guid>
        	        	<description><![CDATA[<p>I want the cells to be in edit mode when a certain condition is true.  I&#39;m using cellEdit true and editable in the column but in some occasions  the user shouldn&#39;t be able to edit some cells of the same column even  though the column is editable=true. I need to use cell editing not  inline editing.</p>
<p>I tried with beforeEditCell:</p>
<p>beforeEditCell: function(rowid, cellname, value, iRow, iCol) {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; //Some conditions here that I validate before making the cell non editable<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160; jQuery("#miGrid").jqGrid("editCell", rowid,iCol,false);<br />&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; &#160;}</p>
</p>
<p>It didn&#39;t work and the the cell still editable.</p>
</p>
<p>Any thoughts?</p>
</p>
<p>Thanks in advance.</p>
]]></description>
        	        	<pubDate>Tue, 16 Nov 2010 22:00:40 +0200</pubDate>
        </item>
</channel>
</rss>