<?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: conditional disable celledit on a cell </title>
	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell</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/conditional-disable-celledit-on-a-cell/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tim on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10972</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10972</guid>
        	        	<description><![CDATA[<blockquote>
<p>tony said:</p>
<p>Hello,</p>
<p>The class was changed in development phase. The class tha can be used is:</p>
<p>1. for cell editing&#160; &#8211; &#8220;not-editable-cell&#8221;</p>
<p>2. for inline edit &#8211; &#8220;not-editable-row&#8221;</p>
</p>
<p>Regards</p>
<p>Tony</p>
</blockquote>
<hr />
<p>Works like a charm. Thanks!</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 17:38:21 +0300</pubDate>
        </item>
        <item>
        	<title>tony on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10928</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10928</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The class was changed in development phase. The class tha can be used is:</p>
<p>1. for cell editing&#160; - "not-editable-cell"</p>
<p>2. for inline edit - "not-editable-row"</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 21 Oct 2009 05:15:37 +0300</pubDate>
        </item>
        <item>
        	<title>ben on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10837</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10837</guid>
        	        	<description><![CDATA[<blockquote>
<p>jpalac said:</p>
<p>Hi,</p>
<p>I&#39;m trying to do something similar. Basically 2 cells are dependant on each other, and when the value of cell 1 is changed to false, then cell 2 should be non editable (not the whole column, but just the cell in the same row), and if the value is changed back to true, cell2 should be editable again.</p>
<p>Another example would be cascading drop downs &#8211; if I change value of dropdown1, and it turns out that there are no corresponding values for dropdown2, then the dropdown2 cell should be non editable and it&#39;s value should be reset to an empty string.</p>
<p>Is this possible to achieve?</p>
</p>
<p>Regards,</p>
</p>
<p>Jo</p>
</blockquote>
<hr />
<p>If you&#39;re using cellEdit: true, why don&#39;t you implement this behavioral logic in the <span style="font-size: x-small;">afterEditCell</span>&#160;event?</p>
<p>Something along the lines of:</p>
<div><span style="font-size: x-small;"></p>
<p><input type='button' class='sfcodeselect' name='sfselectit8988' value='Select Code' data-codeid='sfcode8988' /></p>
<div class='sfcode' id='sfcode8988'><span style="font-size: x-small;">afterEditCell: function (rowID, cellname, value, iRow, iCol) {<br />&#160; gridSelector = $(&#8220;#&#8221; + this.id);<br />&#160; if (myCondition) {<br />&#160;&#160;&#160; gridSelector.restoreCell(iRow, iCol);<br />&#160; }<br />}</span></div>
<p>Just a suggestion.</p>
</p>
<p>Have a nice day <img class="wp-smiley" src="/blog/wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>Ben</p>
</p>
<p></span></div>
</p>
<p><span style="font-size: x-small;"></span></p>
<p>&#160;</p></p>
]]></description>
        	        	<pubDate>Mon, 19 Oct 2009 09:38:07 +0300</pubDate>
        </item>
        <item>
        	<title>tim on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10819</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10819</guid>
        	        	<description><![CDATA[<p>Link was down -&#160; up an running again.</p>
<p>Tim</p>
]]></description>
        	        	<pubDate>Sun, 18 Oct 2009 12:02:34 +0300</pubDate>
        </item>
        <item>
        	<title>tim on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10800</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10800</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>I tried adding "disable-edit" in v36 and it doesn&#39;t seem to be included ?</p>
<p>or am I implementing it wrong ? I have "disable-edit" added as a class, but it&#39;s still editiable....</p>
<p><a href="http://www.blackstag.com/jqGridv36-example1" rel="nofollow" target="_blank"><a href="http://www.blackstag.com/jqGri" rel="nofollow">http://www.blackstag.com/jqGri</a>.....6-example1</a></p>
<p>Thanks,</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Sat, 17 Oct 2009 13:22:17 +0300</pubDate>
        </item>
        <item>
        	<title>tim on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10250</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10250</guid>
        	        	<description><![CDATA[<p>awesome!</p>
<p>thanks.</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Tue, 29 Sep 2009 11:31:14 +0300</pubDate>
        </item>
        <item>
        	<title>tony on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10248</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10248</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Yes it will be in 3.6 - not only for cellEdit, but for inline edit (row lock)</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 29 Sep 2009 11:30:10 +0300</pubDate>
        </item>
        <item>
        	<title>tim on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10245</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10245</guid>
        	        	<description><![CDATA[<p>Any chance this will make it into 3.6 ?</p>
<p>Thanks,</p>
<p>tim</p>
]]></description>
        	        	<pubDate>Tue, 29 Sep 2009 11:28:05 +0300</pubDate>
        </item>
        <item>
        	<title>Allan on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10101</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p10101</guid>
        	        	<description><![CDATA[<p>I have the same issue.</p>
<blockquote>
<p>if the cell has a class disable-edit it will be not editable.</p>
</blockquote>
<p>This would be awesome!</p>
]]></description>
        	        	<pubDate>Thu, 24 Sep 2009 19:25:15 +0300</pubDate>
        </item>
        <item>
        	<title>scottw512 on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9777</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9777</guid>
        	        	<description><![CDATA[<p>I have the same issue. If there is some kind of onRowEdit, I will try to use it to set the cell class to disable-edit.</p>
]]></description>
        	        	<pubDate>Wed, 16 Sep 2009 15:05:05 +0300</pubDate>
        </item>
        <item>
        	<title>tony on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9713</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9713</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Currently is no ready for you way to do this, but this point me to include some condition to do this - by example if the cell has a class disable-edit it will be not editable.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 14 Sep 2009 23:05:21 +0300</pubDate>
        </item>
        <item>
        	<title>jpalac on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9686</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9686</guid>
        	        	<description><![CDATA[<p>Tony,</p>
</p>
<p>If I use setColProp to set editable:false then it disables the whole column for all the rows, where as I just want to disable the column for the current row - so at cell level and not column level.</p>
<p>How do I achieve that?</p>
</p>
<p>Thanks,</p>
<p>Jo</p>
]]></description>
        	        	<pubDate>Mon, 14 Sep 2009 03:22:48 +0300</pubDate>
        </item>
        <item>
        	<title>tony on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9547</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9547</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>1. After saving the cell1 do setColProp to disable/enable editing in cell2</p>
<p>2. use dataEvents in editoptions to do this. - see docs</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 10 Sep 2009 04:07:18 +0300</pubDate>
        </item>
        <item>
        	<title>jpalac on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9494</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9494</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I&#39;m trying to do something similar. Basically 2 cells are dependant on each other, and when the value of cell 1 is changed to false, then cell 2 should be non editable (not the whole column, but just the cell in the same row), and if the value is changed back to true, cell2 should be editable again.</p>
<p>Another example would be cascading drop downs - if I change value of dropdown1, and it turns out that there are no corresponding values for dropdown2, then the dropdown2 cell should be non editable and it&#39;s value should be reset to an empty string.</p>
<p>Is this possible to achieve?</p>
</p>
<p>Regards,</p>
</p>
<p>Jo</p>
]]></description>
        	        	<pubDate>Tue, 08 Sep 2009 18:26:12 +0300</pubDate>
        </item>
        <item>
        	<title>tony on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9320</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9320</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Do not understand. How you can disable cell edit with setCell? I think this is not possible.</p>
<p>Please, describe clear what you try to do and posting code is recommended.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 04 Sep 2009 04:47:37 +0300</pubDate>
        </item>
        <item>
        	<title>Kris on conditional disable celledit on a cell </title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9226</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/conditional-disable-celledit-on-a-cell#p9226</guid>
        	        	<description><![CDATA[<p>Hello,</p>
</p>
<p>I am using cell edit and everything works great. However, I am trying to conditionally disable celledit using setCell method in the loadComplete event. It does not seem to work?</p>
</p>
<p>Please help</p>
</p>
<p>Kris</p>
]]></description>
        	        	<pubDate>Wed, 02 Sep 2009 11:26:57 +0300</pubDate>
        </item>
</channel>
</rss>