<?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: Form Editing - need empty value</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/form-editing-need-empty-value</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/form-editing-need-empty-value/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>cooper64 on Form Editing - need empty value</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/form-editing-need-empty-value#p21917</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/form-editing-need-empty-value#p21917</guid>
        	        	<description><![CDATA[<p>i&#39;m using jqgrid for the first time and all will work fine, but there are two questions, i found no answer.</p>
</p>
<p>I&#39;m using &#39;Form Editing&#39; and my history-field need an empty value, to give the user a blank field to add a new line to the history.</p>
</p>
<p><input type='button' class='sfcodeselect' name='sfselectit8421' value='Select Code' data-codeid='sfcode8421' /></p>
<div class='sfcode' id='sfcode8421'>{name:&#39;history&#39;,index:&#39;history&#39;, width:40, editable:true, editoptions:{size: 20, maxlengh: 100, dataInit:function(elem) { $(elem).val(&#39;&#39;);}}, formoptions:{ label: &#34;History-Notiz&#34;}},</div>
<p>I try it to clear the value whith dataInit, but it is only a init-function. When i close the modal form and get the next data record, or use the next/last button, the history-value will filled again.</p>
</p>
<p>2. problem: in my empty fields, the edit form shows me in the textfields an &#39;&#38;nbsp;&#39; blank. I hope , i can also use the clear-function from my first question.</p>
<p>3. question: <img class="spSmiley" style="margin:0" title="Embarassed" src="/blog/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" />&#160; I need in my delete-form also the history-field but i found no way to integrate it. For an delete-action, user should be add an reason in history.</p>
</p>
<p>Hope for some support here. thanks. <img class="spSmiley" style="margin:0" title="Smile" src="/blog/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
</p>
<p>cooper64</p>
]]></description>
        	        	<pubDate>Wed, 02 Feb 2011 10:46:05 +0200</pubDate>
        </item>
</channel>
</rss>