<?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 values for Select boxes</title>
	<link>http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes</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/feature-request/default-values-for-select-boxes/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>pkinsman on Default values for Select boxes</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes#p3991</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes#p3991</guid>
        	        	<description><![CDATA[<p>ROCK ON. &#160;I was able to get it to work by doing something like this. &#160;I will later swap out the hard coded value to a dynamic value that is pulled from the most recent grid record. &#160;Thanks for the tip!! &#160;<img class="spSmiley" style="margin:0" title="Smile" src="http://www.trirand.com/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-smile.gif" border="0" alt="Smile" /></p>
<p>.navGrid(&#39;#pager2&#39;,{</p>
<p>&#160;&#160; &#160;edit:true,del:true,add:true,search:true</p>
<p>}, &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{height: 250, width: 400, reloadAfterSubmit: true, modal: true, checkInput: true}, &#160; &#160;// edit options</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {height: 250, width: 400, beforeShowForm:function(){</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; jQuery("#practice").val("BREO");</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }}, &#160; &#160;// add options</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {}, &#160; &#160;// del options</p>
<p>&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {} &#160; &#160; // search options</p>
<p>)</p></p>
]]></description>
        	        	<pubDate>Thu, 15 Jan 2009 14:59:12 +0200</pubDate>
        </item>
        <item>
        	<title>tony on Default values for Select boxes</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes#p3879</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes#p3879</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>You are right - there is no default value. In jqGrid this is the first one, but you can use with succes beforeShowForm when in add mode to set the default value of the select <img class="spSmiley" style="margin:0" title="Wink" src="/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-wink.gif" border="0" alt="Wink" /></p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Thu, 08 Jan 2009 08:54:43 +0200</pubDate>
        </item>
        <item>
        	<title>pkinsman on Default values for Select boxes</title>
        	<link>http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes#p3846</link>
        	<category>Feature Request</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/feature-request/default-values-for-select-boxes#p3846</guid>
        	        	<description><![CDATA[<p>I checked the documentation and forums and I don&#39;t think there is a way to set a default value for a dropdown.&#160;</p>
<p>For example, when adding a new record, my users would like the dropdown values to default to the values used for the last record entered. &#160;I think now the only way to accomplish this is to dynamically reorder the editoptions when the page is loaded, putting the "default" selected item at the top of the list. &#160;</p>
<p>Please correct me if I am wrong! &#160;<img class="spSmiley" style="margin:0" title="Smile" src="http://www.trirand.com/blog/wp-content/plugins/simple-forum/tinymce/plugins/emotions/img/smiley-smile.gif" border="0" alt="Smile" /></p>
]]></description>
        	        	<pubDate>Tue, 06 Jan 2009 15:27:37 +0200</pubDate>
        </item>
</channel>
</rss>