<?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: small bug in inline editing</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-inline-editing</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/bugs/small-bug-in-inline-editing/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on small bug in inline editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-inline-editing#p25655</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-inline-editing#p25655</guid>
        	        	<description><![CDATA[<p>Thank Oleg.</p>
<p>Better is to remove the condition, since it is already added checking this condition.</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Fri, 13 Jan 2012 13:19:27 +0200</pubDate>
        </item>
        <item>
        	<title>OlegK on small bug in inline editing</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-inline-editing#p25649</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/small-bug-in-inline-editing#p25649</guid>
        	        	<description><![CDATA[<p>Hello Tony,</p>
<p>in the inline editing module there are <a href="https://github.com/tonytomov/jqGrid/blob/v4.3.1/js/grid.inlinedit.js#L340-344" target="_blank">the following lines</a>:</p>
<p><input type='button' class='sfcodeselect' name='sfselectit7573' value='Select Code' data-codeid='sfcode7573' /></p>
<div class='sfcode' id='sfcode7573'>$.each($t.p.colModel, function(i,n){<br />&#160; &#160; if(this.editable === true &#38;&#38; this.name in $t.p.savedRow[fr] &#38;&#38; <strong>!$(this).hasClass(&#39;not-editable-cell&#39;)</strong>) {<br />&#160; &#160; &#160; &#160; ares[this.name] = $t.p.savedRow[fr][this.name];<br />&#160; &#160; }<br />});&#160;</div>
<p>The problem is that this inside of the <strong>$.each</strong> will be set to the item from the <strong>$t.p.colModel</strong>. So the code&#160;<strong>$(this).hasClass(&#39;not-editable-cell&#39;)</strong>&#160;will alwas get <strong>false</strong>.</p>
<p>One can either remove the <strong>&#38;&#38;&#160;</strong><strong>!$(this).hasClass(&#39;not-editable-cell&#39;)</strong>&#160;part of the <strong>if</strong> or change <strong>this</strong> to something like <strong>$(&#39;td[role="gridcell"]:eq(&#39;+i+&#39;)&#39;,ind)</strong>&#160;(I didn&#39;t tested this).</p>
<p>Best regards<br />Oleg&#160;</p>
]]></description>
        	        	<pubDate>Fri, 13 Jan 2012 01:01:13 +0200</pubDate>
        </item>
</channel>
</rss>