<?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: navGrid - readonly field</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/navgrid-readonly-field</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/navgrid-readonly-field/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>tony on navGrid - readonly field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrid-readonly-field#p2052</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrid-readonly-field#p2052</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You can use&#160; beforeInitData for this purpose.</p>
<p>In navigator define for both edit and add beforeInitData event,</p>
<p>then use setColProp method for that field</p>
<p>setColProp(&#39;fieldname&#39;,editoptions:{readonly:true})&#160; for edit and</p>
<p>setColProp(&#39;fieldname&#39;,editoptions:{readonly:false}) for add</p>
<p><strong>Important Note</strong>. You will have trouble when you call this for first time</p>
<p>(it is bug), since the beforeInitData is called only when the form is</p>
<p>already created.</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 16 Sep 2008 03:01:33 +0300</pubDate>
        </item>
        <item>
        	<title>fxl on navGrid - readonly field</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/navgrid-readonly-field#p2045</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/navgrid-readonly-field#p2045</guid>
        	        	<description><![CDATA[<p>Hi Tony.</p>
<p>Considering that I am using navGrid:</p>
<p>1) Is it possible to show a field in modal form defined as readonly?</p>
<p>2) I need to define the same field as readonly=true to edit button and</p>
<p>readonly=false to add button. How I change it ?</p>
<p>Thanks.</p></p>
]]></description>
        	        	<pubDate>Mon, 15 Sep 2008 15:46:55 +0300</pubDate>
        </item>
</channel>
</rss>