<?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: Inline edit select lists not working after upgrade to 3.5</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35</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/inline-edit-select-lists-not-working-after-upgrade-to-35/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Pete on Inline edit select lists not working after upgrade to 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9531</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9531</guid>
        	        	<description><![CDATA[<p>Tony,</p>
<p>I am not sure what the issue was.&#160; I spent even more time fiddling with it because I&#39;d rather be running the latest version of jqGrid. I am not sure if it was due to the MyEclipse IDE or Tomcat or just some funky glitch but I ended up deleting the stylesheet and script folders and then replacing them with what I thought were exact copies and then it started to work.</p>
<p>No real explaination (yet).&#160; If I run across it again I&#39;ll see if I can figure it out.&#160; But, for now, this is a non-issue.&#160; All seems to be running OK at the 3.5.2 level.</p>
<p>I did change my code to match what you posted and everything is still working OK.</p>
<p>Thanks,</p>
</p>
<p>Pete</p></p>
]]></description>
        	        	<pubDate>Wed, 09 Sep 2009 16:31:06 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Inline edit select lists not working after upgrade to 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9108</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9108</guid>
        	        	<description><![CDATA[<p>Hello,</p>
<p>Could you please try this way:</p>
<p>... editoptins:{<strong>value:{"":"Select","Y":"Yes","N":"No"}</strong>}</p>
<p>direct in the colModel</p>
</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 31 Aug 2009 06:16:05 +0300</pubDate>
        </item>
        <item>
        	<title>Pete on Inline edit select lists not working after upgrade to 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9030</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9030</guid>
        	        	<description><![CDATA[<p>Hmm. Bummer. This has the side effect of disabling onSelectRow (as documented) which breaks the rest of the application.&#160; This is an inlneEdit grid and I need the OnSelectRow.</p>
</p>
<p>Back to the drawing board.&#160; Any other recommendations?</p>
]]></description>
        	        	<pubDate>Fri, 28 Aug 2009 16:50:14 +0300</pubDate>
        </item>
        <item>
        	<title>Pete on Inline edit select lists not working after upgrade to 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9029</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9029</guid>
        	        	<description><![CDATA[<p>Thanks Eric!&#160; That seemed to fix the issue.&#160;</p>
<p>The REAL weirdness is that I built a local source of data (rather than used json) and cut and pasted the code into a new directory with a fresh copy of jqgrid so that it looked like this:</p>
<p>&#60;script type="text/javascript"&#62;</p>
<p>// Load grid information<br />jQuery(document).ready(function(){ <br />var colYesNo = {"value":{"Y":"Yes","N":"No"}};<br />var lastsel2;<br />var jsonURL = &#39;${.data_model.requestURI}?action=AjaxGetEmployeeProgramOptions&#38;empid=&#39;+ $(&#39;#emplist&#39;).val();</p>
<p>$(&#39;#empProgramOpts&#39;).jqGrid({<br />&#160;&#160; url: jsonURL,<br />&#160; datatype: "local",<br />&#160; height: 250,<br />&#160; colNames:[&#39;Program&#39;,&#39;Allow&#39;,&#39;Program Description&#39;], <br />&#160; colModel:[<br />&#160;&#160; {name:&#39;optionName&#39;,index:&#39;optionName&#39;, width:200 },<br />&#160;&#160; {name:&#39;optionDefault&#39;,index:&#39;optionDefault&#39;, width:60, editable:true, edittype:&#39;select&#39;, formatter:&#39;select&#39;, editoptions:colYesNo},<br />&#160;&#160; {name:&#39;optionDescription&#39;,index:&#39;optionDescription&#39;, width:500 }<br />&#160;&#160; ],<br />&#160;&#160;&#160; rowNum:10, <br />&#160; rowList:[10,20,30],<br />&#160; pager: $(&#39;#empProgramOptspager&#39;),<br />&#160; sortname: &#39;optionName&#39;,<br />&#160; sortorder: "desc",<br />&#160;&#160; &#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160; &#160;&#160;&#160; &#160;$(&#39;#empProgramOpts&#39;).saveRow(id);<br />&#160;&#160; &#160;&#160;&#160; $(&#39;#empProgramOpts&#39;).editRow(id,true);<br />&#160;&#160; &#160;&#160;&#160; },<br />&#160; jsonReader: {repeatitems: false},<br />&#160; caption: "Maintain Program Options" <br />&#160; });<br />&#160; <br />var data = [ <br />{"optionDefault":"N","optionDescription":"Allowed to Verify Absences","optionName":"VERIFY"},<br />{"optionDefault":"N","optionDescription":"Allowed to Post to the Intermediate file","optionName":"POSTINT"},<br />{"optionDefault":"N","optionDescription":"Allowed to Post to the Payroll File","optionName":"POSTPAYROLL"},<br />{"optionDefault":"N","optionDescription":"Allowed to Enter Substitutes for Absences","optionName":"SUBS"},<br />{"optionDefault":"Y","optionDescription":"Allowed to Use the Wizard to Create the Absences","optionName":"WIZARD"},<br />{"optionDefault":"N","optionDescription":"Allowed to use the Full Interactive Edit to add absences","optionName":"FULLEDIT"},<br />{"optionDefault":"Y","optionDescription":"Allowed to view Absence History","optionName":"ABSHISTORY"},<br />{"optionDefault":"Y","optionDescription":"Allowed to view unposted absences","optionName":"UNPOSTED"},<br />{"optionDefault":"Y","optionDescription":"Allowed to run reports","optionName":"REPORTS"}<br />];</p>
<p>for(var i=0;i&#60;data.length;i++) <br />jQuery("#empProgramOpts").addRowData(data[i].id,data[i]); </p>
<p>});</p>
<p>&#60;/script&#62;</p>
</p>
<p>And that WORKS in jqGrid 3.5.2&#160; even without your additions.&#160; Must be something to do with the json data, one way or another.</p>
<p>Thanks!&#160; I can move forward again.&#160; I&#39;ll read up on the use of those fields.</p>
</p>
<p>Pete</p>
]]></description>
        	        	<pubDate>Fri, 28 Aug 2009 16:35:36 +0300</pubDate>
        </item>
        <item>
        	<title>zerikv on Inline edit select lists not working after upgrade to 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9022</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9022</guid>
        	        	<description><![CDATA[<p>Hello phelgren,</p>
<p>I think you have missed the following fields in the configuration of the grid :</p>
<p>&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cellEdit: true,<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; cellsubmit: &#39;clientArray&#39;</p>
<p>Regards</p>
<p>~~~</p>
<p>Eric</p>
]]></description>
        	        	<pubDate>Fri, 28 Aug 2009 12:40:15 +0300</pubDate>
        </item>
        <item>
        	<title>Pete on Inline edit select lists not working after upgrade to 3.5</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9004</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/inline-edit-select-lists-not-working-after-upgrade-to-35#p9004</guid>
        	        	<description><![CDATA[<p>Been working on this all day and I can&#39;t figure out what the issue is.&#160; The grid populates and I can see the selection values being loaded from the server but clicking on the row only hightlights the row and the selects in the row don&#39;t generate.&#160; Almost like editing isn&#39;t active at all.&#160; All my grids are "broken" with this issue.</p>
<p>I looked at the upgrade information in the wiki and didn&#39;t see anything about this issue.&#160; Here is the code (FWIW):</p>
<p>// Load grid information</p>
<p>function loadProgramOptions(){<br />var colYesNo = {"value":{"":"Select","Y":"Yes","N":"No"}};<br />var jsonURL = &#39;${.data_model.requestURI}?action=AjaxGetEmployeeProgramOptions&#38;empid=&#39;+ $(&#39;#emplist&#39;).val();</p>
<p>$(&#39;#empProgramOpts&#39;).jqGrid({<br />&#160;&#160; url: jsonURL,<br />&#160; datatype: &#39;json&#39;,<br />&#160; height: 250,<br />&#160; colNames:[&#39;Program&#39;,&#39;Allow&#39;,&#39;Program Description&#39;], <br />&#160; colModel:[<br />&#160;&#160; {name:&#39;optionName&#39;,index:&#39;optionName&#39;, width:200 },<br />&#160;&#160; {name:&#39;optionDefault&#39;,index:&#39;optionDefault&#39;, width:60, editable:true, edittype:&#39;select&#39;, formatter:&#39;select&#39;, editoptions:colYesNo},<br />&#160;&#160; {name:&#39;optionDescription&#39;,index:&#39;optionDescription&#39;, width:500 }<br />&#160;&#160; ],<br />&#160;&#160;&#160; rowNum:10, <br />&#160; rowList:[10,20,30],<br />&#160; pager: $(&#39;#empProgramOptspager&#39;),<br />&#160; sortname: &#39;optionName&#39;,<br />&#160; sortorder: "desc",<br />&#160;&#160; &#160;&#160;&#160; onSelectRow: function(id){<br />&#160;&#160; &#160;&#160;&#160;&#160; &#160;&#160; &#160;&#160;&#160; $(&#39;#empProgramOpts&#39;).editRow(id,true);<br />&#160;&#160; &#160;&#160;&#160; },<br />&#160; jsonReader: {repeatitems: false},<br />&#160; caption: "Maintain Program Options" <br />&#160; });<br />&#160; <br />}</p>
</p>
<p>What did I miss when I upgraded to 3.5?&#160; Something simple I am sure!&#160; This all works in 3.4.4</p></p>
]]></description>
        	        	<pubDate>Thu, 27 Aug 2009 18:19:45 +0300</pubDate>
        </item>
</channel>
</rss>