<?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: Upgrading from 3.1 to 3.2rc</title>
	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc</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/upgrading-from-31-to-32rc/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>interlee on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p1007</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p1007</guid>
        	        	<description><![CDATA[<p>My baaaad.</p>
<p>I realized that I was using unnecessary header information in my server script below. I commented out those and it worked perfect!</p>
<p>Thanks Tony!</p>
<p>if ( stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml") ) {<br /> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; header("Content-type: application/xhtml+xml;charset=utf-8");<br /> } else {<br /> &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; header("Content-type: text/xml;charset=utf-8");<br /> }</p>
]]></description>
        	        	<pubDate>Mon, 07 Jul 2008 12:32:40 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p1003</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p1003</guid>
        	        	<description><![CDATA[<p>Hi Tony,</p>
<p>Actually, I&#39;ve already added the &#39;loadingui&#39; in the grid.css according to the readme.txt. Anyway, since other people don&#39;t seem to have the same issue as I have, I will check my codes more.</p>
<p>Thanks,</p>
<p>Daniel</p>
]]></description>
        	        	<pubDate>Mon, 07 Jul 2008 09:10:30 +0300</pubDate>
        </item>
        <item>
        	<title>tony on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p998</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p998</guid>
        	        	<description><![CDATA[<p>If you have download the 3.2rc there is a readme.txt on how to upgrade. You need to add some code in css</p>
<p>Regards</p>
<p>Tony</p>
]]></description>
        	        	<pubDate>Mon, 07 Jul 2008 00:34:32 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p994</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p994</guid>
        	        	<description><![CDATA[<p>By the way, in the file grid.base.js for 3.2rc,<br />the line number 355 is as below :</p>
<p>$("&#60;div class=&#39;loadingui&#39; id=lui_"+this.id+"/&#62;").insertBefore(this);</p>
<p>Although I&#39;m not really familiar with jquery, my understanding is that the code is looking for a &#60;div&#62; tag that has &#39;loadingui&#39; as its class type to insert something right before the tag. If my understanding is correct, where and how should the &#60;div&#62; tag be defined since I could not find any part that defines the &#60;div class="loadingui"&#62; in jqgrid plugin sources? (I added the "loadingui" style in the grid.css as was indicated by the READMe file)</p>
<p>Should I put put &#60;div class="loadingui"...&#62; somewhere in my code?</p>
<p>I would appreciate any feedback on this.</p>
<p>Best regards,</p>
<p>Daniel</p>
]]></description>
        	        	<pubDate>Sun, 06 Jul 2008 20:35:08 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p993</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p993</guid>
        	        	<description><![CDATA[<p>Thanks for the response. However, I&#39;m sure I&#39;m not using any obsolete methods that are no longer available from 3.2rc (I guess 3.2c in your post is identical to 3.2rc). For your reference, here is my code. This works fine with 3.1 but not with 3.2rc. Please let me know if you find any problem with the code.</p>
<p>Best regards<br />Daniel</p>
<p>&#60;?php $defaultOptions = &#39;0:No;1:Yes&#39;; ?&#62;</p>
<p>&#60;script language="JavaScript"&#62;<br />var gridimgpath = &#39;themes/basic/images&#39;;</p>
<p>$(document).ready(function(){<br />&#160;&#160;&#160; var lastsel;<br />&#160;&#160;&#160; $("#jq_academic_year").jqGrid({<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; url:&#39;models/admin/m_year_view.php&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; datatype: &#39;json&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; mtype: &#39;POST&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colNames:[&#39;Academic year&#39;, &#39;Description&#39;, &#39;Set as default year&#39;],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; colModel :[<br />&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160; {name:&#39;year&#39;,index:&#39;year&#39;, width:200,align:&#39;center&#39;,editable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;descr&#39;,index:&#39;descr&#39;,width:200,align:&#39;center&#39;,editable:true},<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {name:&#39;is_default&#39;,index:&#39;is_default&#39;, width:200,align:&#39;center&#39;,editable:true,edittype:"select",editoptions:{size:25,value:"&#60;?php print $defaultOptions;?&#62;"}}<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowNum:100,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; rowList:[10,20,100],<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortname: &#39;year&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; sortorder: &#39;desc&#39;,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; viewrecords: true,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; imgpath: gridimgpath,<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; caption: &#39;Settings - Academic Year&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; height : &#39;100%&#39;,<br />&#160;&#160;&#160; &#160;&#160;&#160; afterSubmit : function(data_from_server, array_data) {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; var result = data_from_server.responseText.split(";");<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; if (result[0] == "error") {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160; return [false, result[1]];<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; else {<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;&#160;&#160; return [true, &#39;&#39;, result[2]];<br />&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; },<br />&#160;&#160;&#160; &#160;&#160;&#160; editurl: &#39;models/admin/m_year_update.php&#39;<br />&#160;&#160;&#160; });<br />});<br />&#60;/script&#62;<br />&#60;!-- JavaScript end --&#62;</p>
<p>&#60;table id="jq_academic_year" class="scroll" cellpadding="0" cellspacing="0"&#62;&#60;/table&#62; <br />&#60;div id="jq_page" class="scroll" style="text-align:center;"&#62;&#60;/div&#62;</p>
]]></description>
        	        	<pubDate>Sun, 06 Jul 2008 20:27:13 +0300</pubDate>
        </item>
        <item>
        	<title>Reg on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p990</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p990</guid>
        	        	<description><![CDATA[<p>I started with 3.2c so I can&#39;t really say what happens when upgrading, but I do know that my grids display their data, so it has to be a setting or change somewhere that is different between the versions.</p>
<p>Several &#39;get&#39; and &#39;set&#39; methods were dropped in 3.2c, replaced by more generic ones; are you using any of those?</p>
<p>Reg</p>
]]></description>
        	        	<pubDate>Sat, 05 Jul 2008 23:42:05 +0300</pubDate>
        </item>
        <item>
        	<title>interlee on Upgrading from 3.1 to 3.2rc</title>
        	<link>http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p988</link>
        	<category>Bugs</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/bugs/upgrading-from-31-to-32rc#p988</guid>
        	        	<description><![CDATA[<p>I&#39;ve downloaded the 3.2rc and overwrote the *.js files in the js folder with the 3.2rc ones. (I had been using jqgrid 3.1). Also, I added the new css element &#8220;div.loadingui&#8221; into the grid.css file. Unfortunately, however, the grid does not display its contents after the upgrade. (Please see the screen shot for your information: <a rel="nofollow" href="http://mc-dev-01.tech.northwestern.edu/fact/www/temp/master_detail_32rc.gif" target="_blank"><a href="http://mc-dev-01.tech.northwes" rel="nofollow">http://mc-dev-01.tech.northwes</a>.....l_32rc.gif</a>).</p>
<p>So, this time, I overwrite every file in 3.2rc except the file grid.base.js so that the js folder includes all the 3.2rc version except the file grid.base.js (still 3.1). Then, the grid showed the content properly.</p>
<p>I&#39;m not sure if this is a 3.2 bug or I&#39;m missing something. Please let me know if anyone has the same issue.</p>
<p>Thank you!</p>
<p>Daniel</p></p>
]]></description>
        	        	<pubDate>Sat, 05 Jul 2008 12:06:45 +0300</pubDate>
        </item>
</channel>
</rss>