<?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: Default Value in form</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/default-value-in-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/default-value-in-form/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Buga on Default Value in form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/default-value-in-form#p8768</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/default-value-in-form#p8768</guid>
        	        	<description><![CDATA[<p>I found a way to achieve this behaviour.</p>
<p>I added the beforeShowForm to Navgrid</p>
<p><span style="font-size: x-small;"><span style="font-size: x-small;"></span></span></p>
<p align="left">beforeShowForm:</p>
</p>
<p align="left"><span style="font-size: x-small; color: #7f0055;"><span style="font-size: x-small; color: #7f0055;">function</span></span><span style="font-size: x-small;">(eparams)</span><span style="font-size: x-small; color: #7f0055;"><span style="font-size: x-small; color: #7f0055;">{</span></span></p>
<p align="left">&#160;</p>
</p>
<p align="left">&#160;</p>
</p>
<p align="left"><span style="font-size: x-small;">document.getElementById(</span><span style="font-size: x-small; color: #8e00ff;"><span style="font-size: x-small; color: #8e00ff;">&#39;ch1&#39;</span></span><span style="font-size: x-small;">).checked=</span><span style="font-size: x-small; color: #8e00ff;"><span style="font-size: x-small; color: #8e00ff;">&#39;true&#39;</span></span><span style="font-size: x-small;">;</span></p>
<p align="left">document.getElementById(</p>
</p>
<p align="left"><span style="font-size: x-small; color: #8e00ff;"><span style="font-size: x-small; color: #8e00ff;">&#39;ch2&#39;</span></span><span style="font-size: x-small;">).checked=</span><span style="font-size: x-small; color: #8e00ff;"><span style="font-size: x-small; color: #8e00ff;">&#39;true&#39;</span></span><span style="font-size: x-small;">;</span></p>
<p align="left">document.getElementById(</p>
</p>
<p align="left"><span style="font-size: x-small; color: #8e00ff;"><span style="font-size: x-small; color: #8e00ff;">&#39;ch3&#39;</span></span><span style="font-size: x-small;">).checked=</span><span style="font-size: x-small; color: #8e00ff;"><span style="font-size: x-small; color: #8e00ff;">&#39;true&#39;</span></span><span style="font-size: x-small;">;</p>
<p></span></p>
<p><span style="font-size: x-small; color: #7f0055;"><span style="font-size: x-small; color: #7f0055;">}</span></span></p></p>
]]></description>
        	        	<pubDate>Wed, 19 Aug 2009 04:15:33 +0300</pubDate>
        </item>
        <item>
        	<title>Buga on Default Value in form</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/default-value-in-form#p8764</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/default-value-in-form#p8764</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>I have 3 checkboxes in my grid. When I add a new record I would like to defined default values to them. In general they should be checked already. How can I define this in the colmodel?</p>
]]></description>
        	        	<pubDate>Wed, 19 Aug 2009 01:58:21 +0300</pubDate>
        </item>
</channel>
</rss>