<?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: Inline Edit - Behavior Issue with Hidden Column</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/inline-edit-behavior-issue-with-hidden-column</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/inline-edit-behavior-issue-with-hidden-column/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Inline Edit - Behavior Issue with Hidden Column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inline-edit-behavior-issue-with-hidden-column#p3659</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inline-edit-behavior-issue-with-hidden-column#p3659</guid>
        	        	<description><![CDATA[<p>Hello Barry,</p>
<p>Thank you for posting this issue. It seems that this module will better and better.</p>
<p>1. You are right. This is the current behavior. I&#39;m thinking what is right - to create a input elements of the hidden fields or not. What is your think about this?</p>
<p>2. Thank you Fixed. The fix is around the line 69</p>
<p>if( $t.p.colModel[i].hidden===true) { tmp[nm] = $(this).html(); }</p>
<p>replace with</p>
<p>if( $t.p.colModel[i].hidden===true) { tmp[nm] = $(this).html().replace(/\\&#38;nbsp\\;/ig,&#39;&#39;); }</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 23 Dec 2008 02:58:07 +0200</pubDate>
        </item>
        <item>
        	<title>Barry on Inline Edit - Behavior Issue with Hidden Column</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/inline-edit-behavior-issue-with-hidden-column#p3635</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/inline-edit-behavior-issue-with-hidden-column#p3635</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>The Dec. 14th version of jQgrid has cleared up a bunch of issues. Nice work. Thanks!</p>
<p>I have come across a situation where inline edit behaves differently depending on "hidden:true". For reference here is the colModel for that column:</p>
<p><span class="sfcode">{name:&#39;EntityID&#39;,index:&#39;EntityID&#39;, hidden:false, width:80,edittype:&#39;text&#39;, editable:true, editoptions:{readonly:true,size:4}},</span></p>
<p>I am adding a row to the grid. I have a few columns that need some initial values so I create a datarow array and call addRowData(-1,datarow,"last").</p>
<p>The EntityID field is getting set using an AutoComplete field event.</p>
<p>With "hidden:false": The following call works:</p>
<p><span class="sfcode">jQuery("#"+id+"_EntityID","#grid1").val(data[1]);</span></p>
<p>With "hidden:true": The following call works:</p>
<p><span class="sfcode">jQuery("#grid1").setRowData(id,{&#39;EntityID&#39;:data[1]});</span></p>
<p>In design we show all the fields. Later when it all works we hide fields. But then that breaks the grid and you don&#39;t see that until you do a full test.</p>
<p>I saw one other issue regarding " &#38; n b s p ; " and "hidden:true". This one is easy to explaine, I think. If the column is not set and hidden:true then the post value is "&#38; n b s p ;" However if "hidden:false" then the post value is "" (empty string). In my system they get evaluated differently. The correct value shoud be and empty string.&#160;</p>
<p>Barry</p>
]]></description>
        	        	<pubDate>Sun, 21 Dec 2008 17:24:44 +0200</pubDate>
        </item>
</channel>
</rss>