<?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: Problem with HTML Dropdown 'Select' when using Firefox/Chrome. </title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-html-dropdown-select-when-using-firefoxchrome</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/bugs/problem-with-html-dropdown-select-when-using-firefoxchrome/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>shivani_1611 on Problem with HTML Dropdown 'Select' when using Firefox/Chrome. </title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/problem-with-html-dropdown-select-when-using-firefoxchrome#p20333</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/problem-with-html-dropdown-select-when-using-firefoxchrome#p20333</guid>
        	        	<description><![CDATA[<p>Hi</p>
<p>we are using Jqgrid for the edit purpose and we have one of the column as dropdown. when i check this in IE 8 everything works fine. but incase of the firefox/chrome that dropdown does not have "Selected" attribute set for the selected item of the dropdown and because of that whenever we try to save it default to the 0 index and on save no value return and it throws an error.</p>
<p>Here is the snapshot of the code.</p>
<p>&#160;&#160;&#160; colNames: [&#39;RoleUID&#39;, &#39;Rolename&#39;, &#39;IsActiveRole&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel:<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; [</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;RoleUID&#39;, index: RoleUID, editrules: { number: true} },<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;RoleName&#39;, index: &#39;Rolename&#39;, width: 160, edittype: &#39;select&#39;, editable: true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; { name: &#39;IsActiveRole&#39;, index: &#39;IsActiveRole&#39;, edittype: &#39;select&#39;, editable: true, editoptions: { value: "1:Yes;0:No"} }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ]</p>
<p>// this is the code to populate the Rolename value dynamically.</p>
<p>loadComplete: function() {</p>
<p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; var RoleNameList = FillRoleNames();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; jQuery("#dtCharges").setColProp(&#39;RoleName&#39;, { editoptions: { value: RoleNameList} });<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; },</p>
<p>Please help me as I am trying to find this issue but really not successful till now. How can we fix this for the FF and chrome?<img class="spSmiley" style="margin:0" title="Cry" src="/blog/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
]]></description>
        	        	<pubDate>Fri, 15 Oct 2010 22:06:56 +0300</pubDate>
        </item>
</channel>
</rss>