<?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: Disable edit form select list</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list</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/disable-edit-form-select-list/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p14041</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p14041</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Alredy answered on the same post</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 19 Jan 2010 11:42:09 +0200</pubDate>
        </item>
        <item>
        	<title>Brian on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p13995</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p13995</guid>
        	        	<description><![CDATA[<p>This is probably the wrong place for my original post. For more details, please see:&#160;<span style="color: #003aaa;">Forums</span> <a class="sficon sfpath" href="http://www.trirand.com/blog/?page_id=393/bugs" target="_blank">[Image Can Not Be Found]<span style="color: #003aaa;"> Bugs</span></a> <a class="sficon sfpath" href="http://www.trirand.com/blog/?page_id=393/bugs/disabled-dynamic-combo-doesnt-work-for-first-time-edit-mode" target="_blank">[Image Can Not Be Found]<span style="color: #003aaa;"> Disabled dynamic combo doesn&#8217;t work for first time edit mode.</span></a></p>
</p>
<p>Thanks,</p>
<p>Brian</p>
]]></description>
        	        	<pubDate>Mon, 18 Jan 2010 19:12:54 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p13424</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p13424</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There are so many post about this here (including jquery google groups)</p>
<p>Also basically you will need to use beforeShowForm in add and edit.</p>
<p>In add make the control readonly or hide them in edit enable it or show them</p>
<p>Best Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 29 Dec 2009 16:41:51 +0200</pubDate>
        </item>
        <item>
        	<title>cheetos on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p13395</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p13395</guid>
        	        	<description><![CDATA[<p>Mike,</p>
</p>
<p>i have a similar requirement, where some fields in the form are not editable but should be displayed on the form. but while adding i need these to be editable.</p>
</p>
<p>Please let me know if you any of you all found a soultion?<img class="spSmiley" style="margin:0" title="Confused" src="/blog/wp-content/forum-smileys/sf-confused.gif" alt="Confused" /></p>
]]></description>
        	        	<pubDate>Mon, 28 Dec 2009 22:19:35 +0200</pubDate>
        </item>
        <item>
        	<title>MamaliFrenchi on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p10629</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p10629</guid>
        	        	<description><![CDATA[<p>First try in afterShowForm(form) event, then you can use jquery selector something like:</p>
<p>$(&#39;#serv_descr&#39;,form).attr(&#39;disabled&#39;,&#39;disabled&#39;);</p>
<p>I am curious to know&#160; why you would get all data from the server to populate your DDL then disable it. If ypu don&#39;t want this field be editable in colModel select it as editalbe:false, and it won&#39;t be shown in the form.</p>
]]></description>
        	        	<pubDate>Sat, 10 Oct 2009 17:15:18 +0300</pubDate>
        </item>
        <item>
        	<title>Mike27516 on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p10613</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p10613</guid>
        	        	<description><![CDATA[<p>Also - when the form does come up on the second click - it is essntially broken - meaning submit or cancel buttons do nothing. Strange - this is caused by disabling the dropdown in the fashion described above. Any alternatives please reply. Thanks.</p>
]]></description>
        	        	<pubDate>Fri, 09 Oct 2009 13:40:32 +0300</pubDate>
        </item>
        <item>
        	<title>Mike27516 on Disable edit form select list</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p10609</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/disable-edit-form-select-list#p10609</guid>
        	        	<description><![CDATA[<p>Hi,</p>
<p>I using the latest JQGrid (3.5.3) and I need to disable a select list (dropdown) in my edit form during edit operations. Reason being is that the field to be disabled is part of the primary key and should not be changed during edit. The same field should be &#39;selectable&#39; during add operations. The code below make my select list disabled however the form will not display on the first click of the edit icon on the nav bar. Strangely - it does come up on the next click of the edit icon and the dropdown is disabled as it should be. Is this a bug? Or is there a better way to achieve what I want. Thanks.</p>
</p>
<p>beforeShowForm: function(eparams) {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.getElementById(&#39;equip_id&#39;).disabled = true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.getElementById(&#39;service_dt&#39;).disabled = true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.getElementById(&#39;serv_descr&#39;).disabled = true;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; document.getElementById(&#39;calc_next_svc&#39;).checked = &#39;true&#39;;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }</p>
</p>
<p>This is in my edit options array of the navGrid method. The dropdown is &#39;serv_descr&#39;. The other 2 are text fields and do not cause this issue. Only the select list disabling causes the problem.</p>
]]></description>
        	        	<pubDate>Fri, 09 Oct 2009 12:27:56 +0300</pubDate>
        </item>
</channel>
</rss>