<?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: Lock while editing a form</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-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/lock-while-editing-a-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>YamilBracho on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2404</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2404</guid>
        	        	<description><![CDATA[<p>Ooops!</p>
<p>Now when I tried to add a new record I can not be able to give focus to the &#39;co_resultado&#39; so now I can see your point...</p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 09:27:12 +0300</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2403</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2403</guid>
        	        	<description><![CDATA[<p>Tony, it works as expected, shows "Hello World" so each time the &#39;co_resultado&#39; field geo focus the message is shown. Now How to protected the field from editing ?</p>
<p>Doing some experiments I wrote</p>
<p>&#160;&#160;&#160; jQuery("#list").setColProp(&#39;co_resultado&#39;, {editoptions:{onfocus: "this.blur()"}});</p>
<p>And works the way I wanted...</p>
<p>What do you think ?</p></p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 09:25:17 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2392</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2392</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Since it is very interested could you please test if this work:</p>
<p>jQuery(&#8221;#list&#8221;).setColProp(&#39;co_resultado&#39;,</p>
<p>{editoptions:{onfocus: "alert(&#39;Hello World&#39;)"}}) ;</p>
<p>i.e. do not use this.blur()</p>
<p>I think it should work</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Wed, 08 Oct 2008 02:39:42 +0300</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2388</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2388</guid>
        	        	<description><![CDATA[<p>Tony, is it possible "inject" code to a field using editoptions. I mean something like :</p>
<p>&#160;jQuery("#list").setColProp(&#39;co_resultado&#39;, {editoptions:{onfocus: "this.blur()"}}) ;</p>
<p>I tested but it does not work... Is there another way to do that ?</p>
<p>TIA</p>
]]></description>
        	        	<pubDate>Tue, 07 Oct 2008 11:23:30 +0300</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2387</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2387</guid>
        	        	<description><![CDATA[<p>In my edit options I change my beforeInitData function to :</p>
<p>&#160;&#160;&#160; beforeInitData: function(formId) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").setColProp(&#39;co_resultado&#39;, {editable:false});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>And in my Add options</p>
<p>&#160;&#160;&#160; beforeInitData: function(formId) {<br /> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").setColProp(&#39;co_resultado&#39;, {editable:true});<br /> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
</p>
<p>And works OK</p>
</p>
<p>Thanks again Tony...</p>
]]></description>
        	        	<pubDate>Tue, 07 Oct 2008 11:12:48 +0300</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2385</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2385</guid>
        	        	<description><![CDATA[<p>Thanks Tony.</p>
<p>I wrote</p>
<p>&#160;&#160; beforeInitData: function(formId) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#list").setColProp(&#39;co_resultado&#39;, {editoptions:{edithidden:true}});<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>However when the form is shown the field still appears and it&#39;s editable...</p>
<p>I would like to show it but let it readonly or protected...</p>
]]></description>
        	        	<pubDate>Tue, 07 Oct 2008 10:52:27 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2379</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2379</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Get the last 3.3 version and use onBeforeInit event&#160; again with setColProp</p>
<p>method</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Tue, 07 Oct 2008 09:16:09 +0300</pubDate>
        </item>
        <item>
        	<title>YamilBracho on Lock while editing a form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2371</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/lock-while-editing-a-form#p2371</guid>
        	        	<description><![CDATA[<p>Hi.</p>
<p>I have a data table with two fields. Id and name and I would like to "lock" the id while I am editing a record. I would like to show disable or readonly but I need unprotected while adding a record..</p>
<p>It could be done ?</p>
<p>TIA</p>
]]></description>
        	        	<pubDate>Tue, 07 Oct 2008 08:42:43 +0300</pubDate>
        </item>
</channel>
</rss>