<?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: Grey out not editable field on edit form</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form</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/grey-out-not-editable-field-on-edit-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>maggie on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4813</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4813</guid>
        	        	<description><![CDATA[<p>This helps!</p>
<p>Thanks! Maggie</p>
]]></description>
        	        	<pubDate>Fri, 20 Feb 2009 17:58:27 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4556</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4556</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>The form has a id formid, everey field in this form has a id equal to the name from colModel. So in you case it can look like</p>
<p>onInitializeForm : function (formid) {</p>
<p>$("#invid",formid).css({your style here - background and so on});</p>
<p>}</p></p>
]]></description>
        	        	<pubDate>Tue, 10 Feb 2009 23:19:28 +0200</pubDate>
        </item>
        <item>
        	<title>maggie on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4535</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4535</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I figured out how to call onInitializeForm, but I don&#39;t know the syntax to set the needed color for&#160;a field such as invid on the edit form. Where&#160;can I find&#160;an example from the documentation?</p>
<p>Thanks!</p>
<p>Maggie</p>
]]></description>
        	        	<pubDate>Mon, 09 Feb 2009 11:09:03 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4387</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4387</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>There is documentation. From this site Click on Documentation and then</p>
<p>jqGrid-&#62;Form Editing-&#62;Edit Row - look at events there is example.</p>
<p>In your case</p>
<p>jQuery(&#8221;#editgrid&#8221;).editGridRow(gr,</p>
<p>{width: 400,</p>
<p>height:280,</p>
<p>modal:false,</p>
<p>reloadAfterSubmit:false,</p>
<p>onInitializeForm : function (formid) {</p>
<p>// your code goes here</p>
<p>}</p>
<p>});</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 05 Feb 2009 01:44:16 +0200</pubDate>
        </item>
        <item>
        	<title>maggie on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4339</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4339</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>I use IE.</p>
<p>I can&#39;t find the syntax of using onInitialzeForm on the documentation. Could&#160;someone &#160;please give me an example? Here is my code for editGridrow. Where should I add onInitialzeForm? what are the parameters?</p>
<p>$("#bedata").click(function(){<br />&#160;&#160;var gr = jQuery("#editgrid").getGridParam(&#39;selrow&#39;);<br />&#160;if( gr != null ) {<br />&#160;&#160;jQuery("#editgrid").editGridRow(gr,{width: 400, height:280, modal:false, reloadAfterSubmit:false});<br />&#160;}<br />&#160;else alert("Please Select Row");<br />});</p>
<p align="left">&#160;</p>
<p align="left">&#160;Thanks, Maggie</p>
<p align="left">&#160;</p>
<p align="left">&#160;</p>
]]></description>
        	        	<pubDate>Tue, 03 Feb 2009 16:54:16 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4318</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4318</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>This is the right way. If you use FireFox this field is grey. If you use IE this is not gray. It is browser depended. To force this programatically you can use onInitialzeForm to set the needed color for that field.</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 03 Feb 2009 01:47:31 +0200</pubDate>
        </item>
        <item>
        	<title>maggie on Grey out not editable field on edit form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4304</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/grey-out-not-editable-field-on-edit-form#p4304</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>It is great that some fields such as inv no can be set up as not editable on the edit form. But I can&#39;t figure out how to grey it out (eg. set the backgroud as grey so that it is obvious that it is not editable). Is that doable?</p>
<p>These are the codes that I set up for not editable form:</p>
<p>colModel :[ {name:&#39;invid&#39;, index:&#39;invid&#39;, width:60, editable:true,editoptions:{readonly:true,size:10}}, &#160;</p>
<p>Thanks!</p>
<p>Maggie</p>
]]></description>
        	        	<pubDate>Mon, 02 Feb 2009 18:25:31 +0200</pubDate>
        </item>
</channel>
</rss>