<?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 dynamically make cell uneditable (inline edit mode)</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-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-dynamically-make-cell-uneditable-inline-edit-mode/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>upperdeck on How to dynamically make cell uneditable (inline edit mode)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p31398</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p31398</guid>
        	        	<description><![CDATA[<p>I thought the afterrestore function does not get called when cancel is clicked from reading other discussions.</p>
<p>Â </p>
<p>from the example above i see the same results. I want the cell to editable on add and not on edit. when you add code like the original user did the cell works properly except when you click the cancel button.Â Â  if you click add it works, if you click edit it works.Â  but if you click edit then cancel then click add, the cell is left in the non-edit state.Â  if you cancel and then click add again it starts working again.</p>
<p>if i put alerts in and display the editable property its correct but its not used.. this tells me that the value of editable is decided before onselectrow is fired to reset it.</p>
<p>if i put alert in the afterrestore it is never called.Â </p>
<p>this issue only seems to happen when cancel is called when it edit mode.Â </p>
]]></description>
        	        	<pubDate>Wed, 19 Nov 2014 17:33:04 +0200</pubDate>
        </item>
        <item>
        	<title>tony on How to dynamically make cell uneditable (inline edit mode)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p31389</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p31389</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Â </p>
<p>If you have trouble with the cancel button you can use <strong>afterrestorefunc</strong> - please look the docs.</p>
<p>Â </p>
<p>Regards</p>
]]></description>
        	        	<pubDate>Wed, 19 Nov 2014 15:36:15 +0200</pubDate>
        </item>
        <item>
        	<title>upperdeck on How to dynamically make cell uneditable (inline edit mode)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p31386</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p31386</guid>
        	        	<description><![CDATA[<p>I too have been trying to get around this issue?Â  the cancel button seems to override anything you try to do with this.. seems like a bug..Â  anyone else got a work around for this issue?</p>
]]></description>
        	        	<pubDate>Mon, 17 Nov 2014 21:40:46 +0200</pubDate>
        </item>
        <item>
        	<title>XhiXhi on How to dynamically make cell uneditable (inline edit mode)</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p26911</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/how-to-dynamically-make-cell-uneditable-inline-edit-mode#p26911</guid>
        	        	<description><![CDATA[<p>How best do I dynamically disable edit (per row) on a particular cell depending on the value of another cell?&#160; Thus, (for each row in a grid), if cell A meets my set criteria/condition, I want to disable edits on cell B.&#160; The grid&#39;s&#160;in inline edit mode.</p>
</p>
<p>I got this working with the <em>onSelectRow</em> event -- All cells are editable by default and I set the cell to uneditable based on meet a set condition as in this example below:</p>
<p style="padding-left: 60px;">
<p><input type='button' class='sfcodeselect' name='sfselectit2973' value='Select Code' data-codeid='sfcode2973' /></p>
<div class='sfcode' id='sfcode2973'>onSelectRow: function(id){ <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; var ret = jQuery(list).jqGrid(&#39;getRowData&#39;,id);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (ret.Arrived==&#39;Yes&#39;)<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery(list).setColProp(&#39;Arrived&#39;,{editable:false});}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; else {&#160; jQuery(list).setColProp(&#39;Arrived&#39;,{editable:true});}}</div>
</p>
<p>But, each time the user <strong>cancels an edit</strong>, all cells are reverted back to their initial state of editable and my event above does not fire in this case.&#160;</p>
</p>
<p>How do I get this working both on <strong>initial load</strong> and after every <strong>edit</strong> or <strong>edit/cancel</strong> event?&#160;</p>
]]></description>
        	        	<pubDate>Sun, 08 Jul 2012 17:46:22 +0300</pubDate>
        </item>
</channel>
</rss>